How would I make it so the upload folder is the numeric ID value of the inserted record? IE in my PHP site I have the files being uploaded into a tmp folder which is then dynamically renamed to the ID value of the recored inserted. So all the files are in 1 folder with the ID value of that record.
IE
path/app_folder/docs_for_app_folder/unique_id_folder
../HelpDesk/HelpDeskAttachments/1001 (1001 being the auto generated id from SQL)
IE
path/app_folder/docs_for_app_folder/unique_id_folder
../HelpDesk/HelpDeskAttachments/1001 (1001 being the auto generated id from SQL)