Forum Moderators: coopster
$headers = "From: $from";
and $from is a $_POST variable from a form.
In that case, I was told that I have to validate $from to prevent email header injection.
But this time, I don't plan to include the "headers" parameter in the mail function. All I need is just mail($to, $subject, $message); Now in this case, do I still have to worry about header injection?