note 66012 added to function.ftp-connect

From: Date: Fri, 12 May 2006 08:26:05 +0000
Subject: note 66012 added to function.ftp-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-111160@lists.php.net to get a copy of this message
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!"; ---- Server IP: 192.35.244.50 Probable Submitter: 195.202.155.218 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-connect.php Edit -- http://master.php.net/note/edit/66012 Del: integrated -- http://master.php.net/note/delete/66012/integrated Del: useless -- http://master.php.net/note/delete/66012/useless Del: bad code -- http://master.php.net/note/delete/66012/bad+code Del: spam -- http://master.php.net/note/delete/66012/spam Del: non-english -- http://master.php.net/note/delete/66012/non-english Del: in docs -- http://master.php.net/note/delete/66012/in+docs Del: other reasons-- http://master.php.net/note/delete/66012 Reject -- http://master.php.net/note/reject/66012 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#111160) next »