when moving one file from one location to another i use
rename(\'path/filename\', \'newpath/filename\');
how do you move all files in a fol
try this: rename('path/*', 'newpath/');
I do not see a point in having an asterisk in the destination