Re: fsockopen() error!!!!!!!!!!!!!!
| From: | Jason Brooke | Date: | Tue, 01 Aug 2000 13:58:19 +0000 |
| Subject: | Re: fsockopen() error!!!!!!!!!!!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9439@lists.php.net to get a copy of this message | ||
Strange that it works at all, because http://rs.internic is an
invalid value
to pass to fsockopen - you may even find that it's causing it to screw up
somehow
Try it without the http:// on front
jason
> I'm getting an error using fsockopen() on my server
> for a program which acts as the WHOIS domain name
> search.
>
> The error i get is :
> "Wrong parameter count for fsockopen() on line 197"
>
> and line 197 contains :
> $fp = fsockopen("http://rs.internic.net", 43,
> &$errno, &$errstr, 10);
>
> Funny thing is that the script is working absolutely
> fine at my personal web server and gets the result as
> desired. What could be the problem?
>
> T. Edison jr.