RE: [PHP] PHP_fsockopen_connection refused(111)
| From: | Jim Moseby | Date: | Thu, 09 Feb 2006 18:32:38 +0000 |
| Subject: | RE: [PHP] PHP_fsockopen_connection refused(111) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-230174@lists.php.net to get a copy of this message | ||
>
> I'm writting a domain checker and for that, I want to use
> fsockopen to send
> data to the registry's whois database.
> Unfortunately I have always "Connection refused", Error 111
> when try to
> create a socket...
Are you just doing whois lookups? If so, there's an easier way on a linux
box:
$whois=
whois gmx.net;//look up gmx.net in the whois database
print"$whois\r\n";//echo it to the screen
JM