View Single Post
Old 07-23-2007, 04:58 PM  
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
The filename is set here: basename( $_FILES['uploadedfile']['name'])

$target_path = $target_path . 'thenamethatyouwant.jpg';

You can have it be what you want, you aren't forced to use the name that the file was uploaded with.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote