Posted By


jspicher on 10/09/09

Statistics


Viewed 637 times
Favorited by 0 user(s)

sanitize_mail_input($input)


/ Published in: PHP
Save to your folder(s)

Used to sanitize user input for email.


Copy this code and paste it in your HTML
  1. function sanitize_mail_input($input){
  2. return str_replace(array("\r","\n"),'',$input);}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.