When included inside <select name= ' tool ' > on a HTML file.
if ($tool = = "Listtools")
{
while (the list ($key, $val) = each ($TOOLS)) {
Print "<option value=". $key. "" > ". $val." </option>n ";
}
Exit
}
Check what tool they want to with and do what is necessary
Switch ($tool) {
Case "finger":
if ($query)
{
print "<pre>n";
Finger ($server, $query);
print "</PRE>";
} else {
?>
Case "Whois":
if ($query)
{
print "<pre>n";
Whois ($server, $query);
print "</PRE>";
} else {
?>
<!--<UL>
To look up a NIC handle, host name, or registrant,
Use one of the keywords below:<br>
<li>to Search by NIC handle (or contacts), type "Handle WA3509" </LI><BR>
<li>to Search by name, type "name LastName, FirstName" </LI><BR>
<li>to Search by company name, type "name the Sample Corporation" </LI><BR>
<li>to Search by domain name, type "example.com" </LI><BR>
<li>to Search by IP address, type "host 121.23.2.7" </LI><BR>
<li>to Search by host or nameserver name, type "host Ns1.worldnic.com" </LI><BR>
(examples are from networksolutions.com)
</UL>-->
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.