08-15-2010, 06:51 PM
[eluser]aaronr[/eluser]
I am wondering if there is some kind of example code out there showing how to upload a file with a description, title, etc.
I have a form that is storing information in the database, but I need users to be able to attache a file to the entry in the databse. I would like to be able to renamed the filename to the ID of that entry.
Does anyone know of a simple tutorial on how to do that? I see a lot of tutorials show how to upload, but nothing that shows you how to upload and move a file to a filename AND store other information associated with the file.
thanks
I am wondering if there is some kind of example code out there showing how to upload a file with a description, title, etc.
I have a form that is storing information in the database, but I need users to be able to attache a file to the entry in the databse. I would like to be able to renamed the filename to the ID of that entry.
Does anyone know of a simple tutorial on how to do that? I see a lot of tutorials show how to upload, but nothing that shows you how to upload and move a file to a filename AND store other information associated with the file.
thanks