note 8820 added to ftp_put
| From: | woprog at hotmail dot com | Date: | Fri, 29 Sep 2000 06:55:31 +0000 |
| Subject: | note 8820 added to ftp_put | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5582@lists.php.net to get a copy of this message | ||
Paul Southworth>
duh, logically that won't work! "FTP_BINARY" is a string and FTP_BINARY is an int!
And since PHP automatically converts a string to an int when it's expecting an int,
"FTP_BINARY" is converted into 0, in other words: FTP_ASCII....
Hehehe ;-)
Marc
http://www.php.net/manual/function.ftp-put.php