move file to new location
Posted: Fri Apr 30, 2010 3:56 am
Hi guys,
I want to move Excel file from one folder into another one. I am using following codes:
<?php
$file = "/uploaded/DMZ/newTest.txt";
$newlocation= "/uploaded/scanned/newTest.txt";
rename($file, $newlocation);
?>
Nothing happening when I execute the code.
Many thanks
I want to move Excel file from one folder into another one. I am using following codes:
<?php
$file = "/uploaded/DMZ/newTest.txt";
$newlocation= "/uploaded/scanned/newTest.txt";
rename($file, $newlocation);
?>
Nothing happening when I execute the code.
Many thanks