[PHP] figured it out!

2001-08-13 Thread Ben Rigby
figured it out. i had to use: array_multisort ($email_array,SORT_DESC); thanks, ben Ben Rigby wrote: > hi. > any help would be mych appreciated! > i'm trying to sort an associative array, but when i do, the key is > converted into a number (it should be a string). ie:

[PHP] problems sorting an associative array...

2001-08-13 Thread Ben Rigby
hi. any help would be mych appreciated! i'm trying to sort an associative array, but when i do, the key is converted into a number (it should be a string). ie: $email_array["[EMAIL PROTECTED]"]=1; $email_array["[EMAIL PROTECTED]"]=4; $email_array["[EMAIL PROTECTED]"]=10; rsort ($email_array); i'

[PHP] mail() function 30minute delay??

2001-07-11 Thread Ben Rigby
hi. i'm using the mail() function to send email from a PHP script on a UNIX system. sample code is: $result=mail ($mail_to, $mail_subject, $mail_body, $mail_headers); and it seems to be placing the mail in the sendmail queue which gets sent every 30 mintues. is there a PHP mail() option or anoth

[PHP] email_valid function not working??

2001-05-09 Thread Ben Rigby
hi. thanks in advance for any help! i'm trying to make the email_valid function that i found on php.net work. i can get it to validate the email formatting, but it always fails on the MX check and the DNS check. any ideas??? thanks! please cc [EMAIL PROTECTED] with any answers function valid_ema