note 111912 added to function.copy
| From: | indunil dot walpita at gmail dot com | Date: | Wed, 10 Apr 2013 20:18:57 +0000 |
| Subject: | note 111912 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194436@lists.php.net to get a copy of this message | ||
Hi Guys,
I have an issue on copy() function...
It perfectly work on Windows environment but it want work on our Linux(Ubuntu) server.
copy() return false.
I use it as :
$success = copy($absolute_path_orginal,$absolute_path_dest);
Original file user is Apache and the group also Apache.
And the destination folder user and the group was root, root.
Then I change it to apache, apache, but it it also didn't work.
So can you guys help me on this issue :)
If the issue is not clear much to you please let me know.
Thanks.
/Indunil
----
Server IP: 69.147.83.199
Probable Submitter: 112.134.204.124
----
Manual Page -- http://php.net/manual/en/function.copy.php
Edit -- https://master.php.net/note/edit/111912
Del: integrated -- https://master.php.net/note/delete/111912/integrated
Del: useless -- https://master.php.net/note/delete/111912/useless
Del: bad code -- https://master.php.net/note/delete/111912/bad+code
Del: spam -- https://master.php.net/note/delete/111912/spam
Del: non-english -- https://master.php.net/note/delete/111912/non-english
Del: in docs -- https://master.php.net/note/delete/111912/in+docs
Del: other reasons-- https://master.php.net/note/delete/111912
Reject -- https://master.php.net/note/reject/111912
Search -- https://master.php.net/manage/user-notes.php