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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BinaryWrite from just the filename...???

Status
Not open for further replies.

sndkick

Programmer
Nov 1, 2000
71
0
0
US
I have images stored NOT in the database, but I have their filenames stored in the database. I want my ASP page to do a BinaryWrite of the image somehow if I know the filename. I know how it works if I am pulling an "image" from the database, but that's not what I'm looking for. I need to somehow get the binary for any give filepath.

What I am trying to do is have bannerads pulled from asp pages. So the page with the banners would have something like <IMG SRC=&quot;mypage.asp?bannerid=1&quot;> The mypage.asp file would grab the &quot;filename&quot; from the database and do a binary write.

Any ideas?

Thanks,
Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top