Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$ip = "127.0.0.1";
if (!filter_var($ip, FILTER_VALIDATE_IP) === false) {
    echo("$ip is a valid IP address");
} else {
    echo("$ip is not a valid IP address");
}
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_filter5 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:29:33 GMT -->
</html>
×

Report a Problem: