if (preg_match("|\r\n|", $_POST['email'])){
die("Spammer.");
}
if (preg_match("|\r\n|", $_POST['subject'])){
die("Spammer.");
}
//and so on for anything you put into headers.
//body can contain newlines, of course.
On Sat, June 9, 2007 8:22 pm, Austin C wrote:
> how can I tell them not to incl
The return value of http://php.net/mail only says whether or not PHP
managed to queue up the email to go out.
It does *NOT* imply that the email actually went anywhere.
If your server isn't running through the queues and sending the
emails, they don't go out.
If your server is rejecting the emai
Hello, I just finished making a PHP contact form for my webite, and I can
run through the whole thing, and get no errors, but it doesnt email me the
form contents.
*Here is th actual form page:*
Contact
Me
Please
3 matches
Mail list logo