Hi,
Quick question for a newbie:
fsockopen ($inurl, 80, $errno, $errstr, 30);
What's the 30 for?
Thanks very much,
Duncan
As per www.php.net/fsockopen :
resource fsockopen ( string target [, int port [, int &errno [, string &errstr [, float timeout]]]] )
(Optional) number of seconds before fsockopen will time out trying to establish a connection.
You should use the PHP Manual here http://uk2.php.net/manual/en/function.fsockopen.php and search for the function fsockopen.....
then you would know..
Description resource fsockopen ( string target [, int port [, int &errno [, string &errstr [, float timeout]]]] )
the 30 stands for the timeout...
Sorry I checked the manual (I didn't know what fsockopen was at all before I read it!) but I missed that!
NogDog wrote:As per www.php.net/fsockopen : (Optional) number of seconds before fsockopen will time out trying to establish a connection.
damm you beat me to it... well posted!!