Ok I wrote this script to do a WWWHOIS and gave the user an option of several whois servers here is the code:
<font size="2">Server: <select name="selectionip" size="1">
<option value="rs.internic.net">rs.internic.net
<option value="whois.nic.gov">whois.nic.gov
<option value="src.doc.ic.ac.uk">src.doc.ic.ac.uk
<option value="sserve.cc.adfa.oz.au">sserve.cc.adfa.oz.au
<option value="whois.unb.ca">whois.unb.ca
<option value="whois.fh-koelin.de">whois.fh-koelin.de
</select></font>
Now I had had the php function read from it like this
function wwwhois($target){
$server = $selection;
where it use to be $server = "whois.internic.net";
and I end up getting an error like this when attempting to whois
Warning: Unable to find file identifier 0 in /home/knight/scriptparadise-www/hvnqt/indextest.php3 on line 182
What have I done wrong?