|
Posted by Hendri Kurniawan on 12/19/07 09:21
Chimanrao wrote:
> I am getting a connection refused error for the following piece of
> code
>
> $errno = 0;
> $errstr= "testt";
> fsockopen("www.google.com", 80, $errno, $errstr, 300);
> echo $errno;
> echo $errstr;
>
> what could be the reason?
> I am running php 4.4.4
>
> Chiman
fsockopen is disabled in your server.
Hendri
Navigation:
[Reply to this message]
|