Hi all Experts,
It works great in my "localhost" and failed when I placed it in my server (files are not copy - and no error or sucessful message or anything). Source and Destination in my domain are the same as in my localhost, so it is not a case that the source and destination are mispelling.
My purpose is to move all files in "folder1" to "folder2", (except upload.php and getfile.html) - leave those files in folder1 as they were.
Any help from you all. Thanks
$so = 'folder1/';
$de = 'folder2/';
if ($open = opendir($so))
while (false !== ($file = readdir($open)))
if ($file != '.' && $file != '..')
echo("Sucessfully move $so/$file to $de/$file<br />");