I hope this is the right place to post this, if not please move it.
I am in the process of modifying the upload_files.asp to log the files uploaded in a separate table, including filename, topic_ID, Thread_ID, plus 2 other choices specific to my forum (namely type of file and file source).
For the latter I have added two list boxes using <option>....</option> which are populated from a table in the sql db.
My first question is how to pass the chosen values from the list boxes included in my form back to the script, given that it reposts and uses the post rather than get option. I am a novice at ASP so finding this a bit tricky to work out, despite it may be easy. I've tried reading the variables using request.form but couldnt get it working.
Second question is can I determine the Topic_ID and Thread_ID at this stage during file upload, or do i have to do this after the file link is added to the post (so I know where the file was added)?
Thanks!
Simon