Viewing File server/test/ip_lookup.sh of 1.15.2a
|
1: #!/usr/bin/php -q 2: <?php 3: require("../base/tests.inc.php"); 4: if ($argc!=2) 5: { 6: echo "Usage: ip_lookup.sh hostname\n"; 7: exit(); 8: } 9: 10: echo $argv[1]." => "; 11: echo ip_lookup($argv[1]); 12: echo "\n"; 13: 14: 15: ?> 16: