Is there an equivalent to mysql_real_escape_string() for email injection? I have a form where the user submits their email. I am afraid that someone could insert a comma separated list of emails and use my site for spamming.
Is there an equivalent to mysql_real_escape_string() for email injection? I have a form where
Share
You can use
filter_varto validate the e-mail address: