Re: Error Code for fsockopen()??? What it mean?

From: Date: Wed, 21 Nov 2001 16:54:24 +0000
Subject: Re: Error Code for fsockopen()??? What it mean?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75415@lists.php.net to get a copy of this message
Scott Fletcher wrote: > I use this script and I recieve an error code, what does this mean in > english? I can understand the "0" or the "1", but "2"???? > > fsockopen (HOSTNAME, &$errno, &$errstr) or die("$errno: $errstr"); I am pretty sure that if you do "man errno" in a shell prompt and count down to the second item, you'll be looking at the error messge number "2" that is being referenced. This is for sure true with fopen and exec, and I'm assuming fsockopen is the same. -- Like music? http://l-i-e.com/artists.htm

« previous php.general (#75415) next »