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.
http://www.php.net/copy

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

regards
Wagner

-- 
Madness takes its toll. Please have exact change.

-- 
PHP General Mailing List (http://www.php.net/)
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