note 94300 added to function.copy
| From: | info | Date: | Wed, 28 Oct 2009 08:27:04 +0000 |
| Subject: | note 94300 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162169@lists.php.net to get a copy of this message | ||
i made a slight mistake in the first line of code:
<?php
function smartCopy($source, $dest,
$folderPermission='0755',$filePermission='0644'){
...
?>
should actually be:
<?php
function smartCopy($source, $dest, $folderPermission=0755,$filePermission=0644){
...
?>
=> the permissions may not be saved as string-values
----
Server IP: 217.160.72.57
Probable Submitter: 77.186.95.61
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- https://master.php.net/note/edit/94300
Del: integrated -- https://master.php.net/note/delete/94300/integrated
Del: useless -- https://master.php.net/note/delete/94300/useless
Del: bad code -- https://master.php.net/note/delete/94300/bad+code
Del: spam -- https://master.php.net/note/delete/94300/spam
Del: non-english -- https://master.php.net/note/delete/94300/non-english
Del: in docs -- https://master.php.net/note/delete/94300/in+docs
Del: other reasons-- https://master.php.net/note/delete/94300
Reject -- https://master.php.net/note/reject/94300
Search -- https://master.php.net/manage/user-notes.php