Forums

This topic is locked

ASP upload - and download

Posted 04 Nov 2001 23:44:16
1
has voted
04 Nov 2001 23:44:16 tony smith posted:
Hi...

I'm new here, just like to say, i'm gonna stick around, this forum looks like a cool place to learn and develop ...

I have a project which im gonna be working on, its gonna be tough for me so any advice and help would be great...

Pure asp upload..this is where it's gonna start for me, i needed a way for users of my site to upload images, but i wanted other users to see them too, basically a user gallery, asp upload send the files to a database, i'm gonna have to work out how these images can be displayed... i want a gallery that rotates too, sort of a file limit, 50 pictures or so, then the database rotates back to zero again.. saves space and other users could upload...

do u think i'm starting in the right place by using asp upload, using a database (i have Ultradev installed etc) i'm going in a little blind here, so please bare with me <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

any advise or help would be a boon!
cheers

Replies

Replied 06 Nov 2001 15:11:21
06 Nov 2001 15:11:21 tony smith replied:
Upload fine... how's about displaying the uploads then? any help for me, give me a direction to go in...anything...cheers

Replied 06 Nov 2001 23:16:19
06 Nov 2001 23:16:19 George Petrov replied:
Well displaying is also very easy!

just put the database field that contains the image filename - as a image name in the IMG tag. Like:

<pre id=code><font face=courier size=2 id=code>&lt;IMG SRC="uploads/&lt;%=myRecordset.Fields.Item("filename".Value%&gt;"&gt;</font id=code></pre id=code>

If you got Pure ASP Upload 2.0 - there are a lot of tutorials included about how to do this in detail.

Greetings,
George

---------------------------------------
George Petrov - CTO, www.UDzone.com

www.UDzone.com : A Dreamweaver,
Dreamweaver Ultradev and Fireworks site
by developers for developers.
---------------------------------------

Reply to this topic