hi.. how can i upload a file with my own specified file name. normally the file uploaded will be the name of the original file name. what i need to do is, after uploading the file, the system will automatically rename the file name! can any one there help me??
cK
So what's the problem? you already know which file is being uploaded, so you can simply rename the uploaded file to whatever you want.
// create the name of your file $imageFileName = "whateverYouWant";
// save uploaded file copy($uploadFileVar, $imageFileName); unlink($uploadFileVar);
-- Rich Rijnders -- Irvine, CA US