I was wondering how do I allow only one email address?
if (isset ($ _GET ['' '' email ']) & amp; strlen ($ _GET [' email ']) <= 255) {$ email = Mysqli_real_escape_string ($ mysqli, strip_tags ($ _GET ['email'])); } And if ($ _GET ['email'] and & strlen ($ _GET ['email']) = 256) {echo & lt; P & gt; Your email can not be more than 255 characters! & Lt; / P & gt; '; }
no
Use instead, follow the above address, in real fact with the actual mail, the only real way to send a mail is to make sure that it is a valid email address.
Comments
Post a Comment