TheSupportForum
10-20-2012, 10:30 PM
i need to run a schedule task to rename a file
so far i have this
$logfile = $vbulletin->options['aglogfile'];
$logurl = $vbulletin->options['aglogurl'];
$logname = $vbulletin->options['aglogname'];
echo "backup of your file
";
echo "Finished
";
rename ("$logurl/$logname","$logurl/$logname". date("d-M-Y", time()) . ".txt");
echo "C'est fini. You can view your logs
\n
";
the variables work but i get an error message
Warning: rename() [function.rename]: http wrapper does not support renaming
can anyone help on a better solution or help resolve the error message
so far i have this
$logfile = $vbulletin->options['aglogfile'];
$logurl = $vbulletin->options['aglogurl'];
$logname = $vbulletin->options['aglogname'];
echo "backup of your file
";
echo "Finished
";
rename ("$logurl/$logname","$logurl/$logname". date("d-M-Y", time()) . ".txt");
echo "C'est fini. You can view your logs
\n
";
the variables work but i get an error message
Warning: rename() [function.rename]: http wrapper does not support renaming
can anyone help on a better solution or help resolve the error message