*newbie*
The script I'm trying to customize has a textbox that allows you to type in the title that the uploaded picture will be named. I removed that and tried to set it up where the picture is assigned the name of the user that uploaded it, and image name is stored in the database. I realized the this is not a good method because some people put spaces in thier username and their picture isn't displayed in that case.
*How do I get php to generate a unique name for the newly uploaded image?*
(a general idea of where the code would be placed would be very helpful as well) Thanks