Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uploading Images files with pure ASP

Status
Not open for further replies.

dandrey

Technical User
Apr 28, 2005
41
CO
I'm trying to upload image files with ASP i found some scripts but this works for all file types and as you know this could be a problem because some malicious files, i even try to modify the code but it's problem becuase when i solve one problem others come up and i'm wasting my time with this.

Therefore i request your help with this pure uploading images asp code that also allows me to save the name (not the file itself) of the file into a DB field.

Thanks in advance for your help.
 
When you say with pur ASP are you talking about the product titled "Pure ASP" or you saying pure as in not using a component at all?

Whatever code you use to manipulate and handle the upload will have the ability to pull the file name so that you can store that in another field of the database. You just parse out the name to see what the extension is and determine if it is an image file.

Do you already have upload software you are working with?


At my age I still learn something new every day, but I forget two others.
 
You cannot control what a web browser sends to the web server... you can only control how the server responds to what has been sent.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top