however, i CAN rename files in the same directory...
is there any limitation in length of a pathname?
should I use relative or absolute paths ? (i guess that it doesnt work with paths like "../../dirA/dirB/" etc.)
I use the following structure:
Code: Select all
$source = '/httpd/html/dir1/dir2/dir3/upload/picture.jpg';
$dest = '/httpd/html/dirA/dirB/dirC/dirD/client/picture.jpg';
if (copy($source, $dest)) {....}
else { ... show error message ....}could someone help me,please?