renaming a file while uploading it
Posted: Wed Dec 06, 2006 8:54 am
I would like to rename a file as I upload it to the server, so as to give it a unique name, how can this be achieved?
Thanks in advance
Thanks in advance
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
move_uploaded_file($tmpname, $destination)