Linux and PHP mail() funtion
Hi:
I have been reading several docs on security issues with Linux/PHP. This site gave me some more pointers. I was wondering if I can get help in my PHP coding .... I have a site where people could sign up for membership. After someone fills up the form on the sign up page and submits it, an email with the filled in info, is sent to me so that I can approve and activate the person after running some credential checks. As soon as I activate the person, an email is automatically sent to the user so that they can start loging in... the usual method found in most sites. My website host has disabled my PHP mail() function and I have not been able to get a straight answer for 3 weeks, and now they have come back with a short, cryptic note saying that PHP suexec has been turned on and "I have to provide my user id in PHP coding" and then the PHP mail() function will work. I am not sure where or how to do that - I mean, provide my user id in the PHP code. I can post the code here, if someone can help me..? :confused: |
I found this mail function at http://us2.php.net/mail, perhaps it will help point you in the correct direction.
Code:
function mymail($to,$subject,$message,$headers) |
All times are GMT -5. The time now is 02:26 AM. |