Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php copy


<?php
$file = 'example.txt';
$newfile = 'example.txt.bak';

if (!copy($file, $newfile)) {
    echo "failed to copy $file...
";
}
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #copy
ADD COMMENT
Topic
Name
4+8 =