Menu
Folks,
Check this out from tutorial:
[code]
$website = input($_POST[“site”]);
if (!preg_match(“/b(?:(?:https?|ftp)://|www.)[-a-z0-9+&@#/%?=~_|!:,.;]*[-a-z0-9+&@#/%=~_|]/i”,$website)) {
$websiteErr = “Invalid URL”;
}
Is it foolproof ? Can I use it in my “Url Submission Form” ? Yes or no ? Regardless, you got a better one ?