Forum Moderators: coopster

Message Too Old, No Replies

problem with moving files

         

Shanee

1:15 pm on May 13, 2007 (gmt 0)

10+ Year Member



i have two directory on my server
1. path/public_html/temp
2. path/public_html/media

i have already uploaded file to temp folder via ftp. and want to move each individual file to media directory with php function, i had used rename() but doesn't work for this task, please can you help me with which function i can perform such a task

thanks

[edited by: Shanee at 1:18 pm (utc) on May 13, 2007]

Sekka

1:33 pm on May 13, 2007 (gmt 0)

10+ Year Member



Tried copy() [uk2.php.net]?

Shanee

7:32 am on May 14, 2007 (gmt 0)

10+ Year Member



hmmm, i used it and now i am able to perform my require action

thanks