diff --git a/index.php b/index.php index e6cd04b..97192c9 100644 --- a/index.php +++ b/index.php @@ -1,57 +1,3 @@ - 255) { - - die("Ein Teilstück der IP Adresse ist grö&szli;ger als 255."); - - } - - } - - } - - } - - } - - // Noch nicht abgebrochen? -> True zurückliefern - return true; - -} -?> - @@ -329,18 +275,21 @@ function checkip($ip) { if($_GET['lg'] == '1') { ?>
- IPv4 Adresse: + IP Adresse (v4 und v6):
";
 					echo shell_exec('ping '.$IP.' -c 3');
 					echo "
Traceroute $IP
";
 					echo shell_exec('traceroute '.$IP.'');
 					echo "
"; + + } else { + echo("$ip1 is not a valid IP address"); } }