Forum Moderators: open
I need to be able to upload images from the users computer through the browser onto the server. In addition, I need to have the link (not the image itself) saved in an Access database (along with the rest of the information for that specific car). How would I go about this and then displaying the page? Can anyone provide any sample code that I can work off of. I am fairly new to ASP and I am not using .NET just plain old ASP.
Any suggestions or a link to a site with a tutorial on how to do it or something would seriously help.
Thanks in advance,
Axe
First, you will need a component such as ASPUpload to accept uploaded files to your server.
Then, you will need to learn how to write code to update/insert into a database based on a web form.
It's not difficult to do. There are good tutorials all over the web. I like the ones at "http://www.w3schools.com"
look at their tutorials on ASP and ADO (the data connection part)
Once you have some code in place, someone here can help you with it. Generally we don't like to throw solutions out, as 1) they generally aren't what you need, and without understanding what it does will cause you more grief, and 2) it doesn't help you learn how to do it.
Good luck with the project!
Thanks in advance,
Axe
[freeaspupload.net...]
Lewis's script has heaps of examples, the only one I think thats missing is placing the file in a folder, and the file reference in the database.
That tends to be one of the more required examples, but its very easy to do as well.
Id almost recommend it over any component due to the number of samples and supporting documentation