note 10563 added to ftp_fput

From: Date: Wed, 10 Jan 2001 15:55:44 +0000
Subject: note 10563 added to ftp_fput
Groups: php.notes 
Request: Send a blank email to php-notes+get-9564@lists.php.net to get a copy of this message
The function crashes, if the filepointer is already at the end of file (feof is true). To send the whole file use the function rewind(), this sets the filepointer to 0. This also prevents the error. Joerg More PHP: www.php.comzept.de (in german) http://www.php.net/manual/function.ftp-fput.php

« previous php.notes (#9564) next »