note 38470 added to function.copy
| From: | scottblair at NOSPAM dot iprimus dot com dot au | Date: | Tue, 23 Dec 2003 01:33:23 +0000 |
| Subject: | note 38470 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62366@lists.php.net to get a copy of this message | ||
There is a note in the file_exists section that it may return FALSE if the file size is 0. I found
this to also be true for the copy command. If the file size is 0, even though the file is copied,
the function returns FALSE.
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38470
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38470&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38470&report=yes
Search -- http://master.php.net/manage/user-notes.php