felito Posted January 12, 2012 Share Posted January 12, 2012 hi This var_dump give me false. So, my question is why this url is not valid ? thanks link http://00.00.000.00/~dnsmont/login/?se=home $url=$_SERVER['REQUEST_URI']; var_Dump(filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_PATH_REQUIRED | FILTER_FLAG_QUERY_REQUIRED)); Link to comment https://forums.phpfreaks.com/topic/254922-filter_validate_url/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.