Balaji Ankem wrote:
> Hi! dearest friends,
>   How to copy files from one directory to another directory through
> php on linux platform??

- Be sure you have permission to read the files to be copied and to 
write into the destination-directory.
This is rather UNIX-specific than related to PHP.

- Use copy() to copy the files.

- If you need to copy a complete directory without knowing the names of 
the files inside, use opendir() and readdir() to get those filenames.


Madness takes its toll. Please have exact change.

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to