Welcome aboard! We are happy you are here and wish you good net-raft!
<!doctype html>
<html lang="en">
<head>
</head>
<body>
<?php
// The Regular Expression filter
$url = "https://net-raft.com";
$url = filter_var($url, FILTER_SANITIZE_URL);
echo'a valid url!';
// Validate url
if (!filter_var($url, FILTER_VALIDATE_URL) === false) {
} else {
echo'not a valid url!';
}
?>
</body>
</html>
The most helpful PHP solutions
detect browser phpPHP Click to see more ... 4.6K 408