note 45357 added to function.copy
| From: | simonr_at_orangutan_dot_co_dot_uk at osu1 dot php dot net | Date: | Fri, 03 Sep 2004 08:54:02 +0000 |
| Subject: | note 45357 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75976@lists.php.net to get a copy of this message | ||
Having spent hours tacking down a copy() error: Permission denied , (and duly worrying about chmod
on winXP) , its worth pointing out that the 'destination' needs to contain the actual file
name ! --- NOT just the path to the folder you wish to copy into.......
DOH !
hope this saves somebody hours of fruitless debugging
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45357
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45357&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45357&report=yes
Search -- http://master.php.net/manage/user-notes.php