finger,
traceroute => traceroute,
whois => whois?
);
// when included inside on a html file ..
if ($tool==listtools)
{
while (list($key, $val) = each($tools)) {
print .$val.n;
}
exit;
}
// print appropriate html header
print ;
if ($tool)
{
print .$tool. for .$query.n;
print n.$tool. for .$query. ..n;
} else {
print .$app_name.n;
print n.$app_name.n;
}
// check what tool they want to use and do what is necessary
switch($tool) {
case finger:
if ($query)
{
print n;
finger($server, $query);
print
;
} else {
?>
server :
query :
query :
this will find .com, .org, and .net domains
server :
query :
http://www.bkjia.com/phpjc/316673.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/316673.htmltecharticle?php /* php net toolpack v0.1 08.05.2000, by waddler(@netlife.fi) phpnettoolpack.sourceforge.net to be distributed under gnu gpl */ // whois(hostname [,username, [port]]) function w...