I am not able to copy file from a directory in the server to another directory.
Here,
the source is outside the web root directory and the destination is inside the web root directory.
I got a warning
The code is as follows:
Code:
$destination="http://localhost/files/fileUploads/photo1.JPG"; $source="http://localhost/files/../../fileUploads/photo1.JPG";
Leave a comment: