i need a script or a way to have a multiple file upload. it will put all the files in a directory and rename them to the autoincrement in the database. it also has to put the file path in the database and all it has to insert in the database is "say if its image #9 it would put 9.jpg in the database file path." the title and other info would be filled out later by another form. or they could be put on the same form if you like.... i think this is pretty simple just dont know how to do it .
this would use php and mysql (it could also use ajax or flash, etc for the uploading)
if anyone could help i would be very grateful.
my gallery_images table (the one the file path and autoincrement would be stored in )
ID (int) auto
Title (varchar)
Description (text)
URL (varchar)
Albulm ID (int)
ps. if it could also resize the images that would be good but not nessesary.
Edited by trs21219, 09 May 2007 - 08:56 PM.
