Forums
This topic is locked
Pure ASP Upload 1.5.0 unique file name
20 Aug 2002 03:06:35 Andy Tate posted:
I am trying to use an ASP classified ads program.The problem I have is that if two images are loaded with the same name one of them is replaced.
I found the tutorial for the unique file name and I have tried to make the changes but seem to have no joy.
When it says "Add this code some where near to the top of your page does that mean above ASP upload in between other scripts? Or does it mean at the top of the ASP upload section.
If I use version two it states "add the lines after if UploadRequest.Item(GP_curKey).Item("FileName" <> ""
But in the code I have there is a "then" tagged after this?
Can somebody please point me in the right direction.
I don't even know if I bought the new version if I could figure out how to use it in the page.
Do I need to create some new fields in the database tables for the information or will it load straight into AD_IMAGE.
Sorry to be so thick!!!!!!
I've put the script online at www.caravanads.co.uk/help_me.html