note 66012 deleted from function.ftp-connect by nlopess

From: Date: Mon, 15 May 2006 18:12:41 +0000
Subject: note 66012 deleted from function.ftp-connect by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-111331@lists.php.net to get a copy of this message
Note Submitter: sillycat at gmx dot com ---- In PHP 4.2.0 a timeout parameter became available. This parameter defines the timeouts for all ftp network operations. The default value is 90 seconds. ftp_connect ( string host [, int port [, int timeout]]) if ($conn_id = ftp_connect("myftp.sillycat.com", 21, 20)){ //do some ftp stuff } else echo "Timout for ftp connection!";

« previous php.notes (#111331) next »