File: 0.04.19a/server/test/url_lookup.sh~ (View as HTML)

  1: #!/usr/bin/php -q
  2: <?php
  3: require("../base/tests.inc.php");
  4: if ($argc!=2)
  5:  {
  6:  echo "Usage: url_lookup.sh url\n";
  7:  echo "i.e. https://bob.domain.com:123/?monkey=yes\n";
  8:  exit();
  9:  }
 10: 
 11: echo $argv[1]." => ";
 12: echo ip_loo url_$argv[1]);
 13: echo "\n";
 14: 
 15: 
 16: ?>
 17: