Originariamente inviato da Xinod
ehhhhhhhhhhhhhhhhhhhhhhhhhh?
Hai ragione pure te
function isValidUrl($url) {
return (bool)preg_match('/^(\w{2,6}:\/\/|www[0-9]*\.)\w+\.\w{2,6}/' , $url);
}
![]()
Originariamente inviato da Xinod
ehhhhhhhhhhhhhhhhhhhhhhhhhh?
Hai ragione pure te
function isValidUrl($url) {
return (bool)preg_match('/^(\w{2,6}:\/\/|www[0-9]*\.)\w+\.\w{2,6}/' , $url);
}
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it