Answers for "php url check function"

PHP
5

check if valid url php

filter_var($url, FILTER_VALIDATE_URL);
Posted by: Guest on April-16-2021
0

if url has certain code then php

if (strpos($_SERVER['REQUEST_URI'], "url word") !== false){
// code
}
Posted by: Guest on January-31-2021

Browse Popular Code Answers by Language