Sun Oct 26, 2008 9:01 pm
<?php
$source = "./test.txt";
$destination = "./copy.txt";
if(copy($source, $destination)) {
echo "File copied successfully.", "\n";
} else {
echo "The specified file could not be copied. Please try again.", "\n";
}
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.