note 102320 added to function.copy

From: Date: Tue, 08 Feb 2011 17:22:54 +0000
Subject: note 102320 added to function.copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-176784@lists.php.net to get a copy of this message
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

« previous php.notes (#176784) next »