PHP Simple QA
It contains Simple Questions and Answers in PHP
Showing posts with label
url validity checker function php
.
Show all posts
Showing posts with label
url validity checker function php
.
Show all posts
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;
}
Older Posts
Home
Subscribe to:
Posts (Atom)