| Newsgroups |
php.notes |
| Message-ID |
<[email protected]> |
you can try this code if you don't having permission to access the shell
this code is alternative for file copy
<?php
$source = 'myfile.doc';
$destination = 'clonefile.doc';
$data = file_get_contents($source);
$handle = fopen($destination, "w");
fwrite($handle, $data);
fclose($handle);
?>
----
Server IP: 202.158.52.162
Probable Submitter: 180.246.35.194
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- https://master.php.net/note/edit/102320
Del: integrated -- https://master.php.net/note/delete/102320/integrated
Del: useless -- https://master.php.net/note/delete/102320/useless
Del: bad code -- https://master.php.net/note/delete/102320/bad+code
Del: spam -- https://master.php.net/note/delete/102320/spam
Del: non-english -- https://master.php.net/note/delete/102320/non-english
Del: in docs -- https://master.php.net/note/delete/102320/in+docs
Del: other reasons-- https://master.php.net/note/delete/102320
Reject -- https://master.php.net/note/reject/102320
Search -- https://master.php.net/manage/user-notes.php