image uploading

R

raj chahal

Hi there

I want to let users upload a image to their directory and then update my
database so whenever someone searches the database an image is displayed..
I've seen some scripts that use comonents . I am famailiar with asp
somewhat. Does anyone know the best way to do this ? What are the advantages
of using components ? my concern is that i may run ito problems when I
update my database.
Thanks
 
L

Larry Neylon

Hi Raj,

I'd have a look at PureASP upload which is Free to use for files upto 2Mb.

The program isn't a component, but is written is asp so can be used in any
asp application.

Simply use the PureASP code to upload the file onto your server, update your
database with the filename and path and then when the user wants to see that
image you can use to field in your database to output a <img> tag pointing
to the uploaded image file on your server.

Regards,

Larry Neylon.
 
D

Dave Anderson

raj said:
I want to let users upload a image to their directory and then update
my database so whenever someone searches the database an image is
displayed.. I've seen some scripts that use comonents . I am
famailiar with asp somewhat. Does anyone know the best way to do this
? What are the advantages of using components ? my concern is that i
may run ito problems when I update my database.

http://aspfaq.com/show.asp?id=2189

I should mention that I tried several of these and prefer Fath because it
allows me direct access to the binary stream, which made it a good fit when
I needed to insert images into a SQL Server database using JScript and a
parametrized stored procedure. The Fath documentation is very thin, however.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top