$_FILES['filetoupload']['name'];
Which echos "filename.pdf" and that is all well and good. But I would like the file name to be for example... "nun4umxymv3-93.pdf"
the string of letters and numbers are random from a function and the last two numbers are the id number of the record that contains this uploaded file. How do I change the name of the file that gets uploaded but will keep the extension?
Edited by ottomatic, 30 September 2005 - 01:26 PM.
