/ Published in: PHP
The right way to send a mail with POST params
Expand |
Embed | Plain Text
mail($to, strip_tags( $_POST['subject'] ), stripslashes( utf8_decode( strip_tags( $_POST['message'] ) ) ), 'From: '.strip_tags( $_POST['name'] ).'<'.$_POST['email'].'>' ); }
You need to login to post a comment.
