Sun Oct 26, 2008 8:59 pm
<?php
$source = "./test.txt";
$destination = "./copy.txt";
if (rename($source, $destination)) {
echo "The file was moved successfully.", "\n";
} else {
echo "The specified file could not be moved. 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.