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)); Quote Link to comment https://forums.phpfreaks.com/topic/254922-filter_validate_url/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.