PHP Simple QA
It contains Simple Questions and Answers in PHP
php function url validity
php function url validity
function validUrl($url)
{
if(preg_match(“/^((http:|https:)\/\/)[A_Za-z0-9_]*(\.)[a-zA-Z]*[?|&|[a-zA-Z0-9]]*/”,$url))
return 1;
else
return 0;
}
Newer Post
Older Post
Home