Line number On/Off | Expand/Contract
Code: Select all
<?php
$file = '/home/xxxx/public_html/index.htm';
$newfile = '/home/xxxx/public_html/bkb/2009/01/index.htm.bkb';
if (!copy($file, $newfile)) {
echo "failed to copy $file...\n";
}
else
{
echo "Index Copied";
}
Where the date in this format d.m.y
Thanks in advance