G'day mates, Because i am a nice guy and i hate to see this industry going down in flame, here's a little present for you guys : A State of the Art Military Grade PHP function that does all the work for you ! ******************************************************************* * -- PHP WHOIS FUNCTION, proudly brought to you by ginger FISH -- * ******************************************************************* function whoIS($domainname,$domainextension) { $res = 0; $fp = fsockopen ("whois-check.ausregistry.net.au", 43, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br>\n"; } else { fputs($fp,$domainname.$domainextension."\r\n"); $buf = fread($fp,1024); $res = InStr("Not Available",$buf); if($res>0) { $available =-1; } else{ $available =1; } } fclose ( $fp ); return $available } ---------------------- Ginger "customer service" FISHReceived on Fri Oct 03 2003 - 00:00:00 UTC
This archive was generated by hypermail 2.3.0 : Sat Sep 09 2017 - 22:00:06 UTC