# Inserting a binary or picture to a database using ASP

**URL:** <https://forum.kirupa.com/t/inserting-a-binary-or-picture-to-a-database-using-asp/61519>\
**Category:** Uncategorized\
**Created:** [August 19, 2004, 9:07am UTC](https://forum.kirupa.com/t/inserting-a-binary-or-picture-to-a-database-using-asp/61519 "2004-08-19T09:07:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyklone](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@zyklone](https://forum.kirupa.com/u/zyklone)\
**Post date:** [August 19, 2004, 9:07am UTC](https://forum.kirupa.com/t/inserting-a-binary-or-picture-to-a-database-using-asp/61519/1 "2004-08-19T09:07:25Z")

</div>

how can i insert a picture to my database using ASP… anybody answers my question??? and give me the code… thanks!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 19, 2004, 2:23pm UTC](https://forum.kirupa.com/t/inserting-a-binary-or-picture-to-a-database-using-asp/61519/2 "2004-08-19T14:23:50Z")

</div>

Browsing your local hard drive from flash can be a bit tricky. If you use Javascript it most likely won’t work in Mozilla (from my exp). There are components out there for example Yam’z [http://www.yamago.net/components/](http://www.yamago.net/components/) which works like a charm.

ASP doesn’t handle file uploading the way PHP does. PHP file uploading is simple, with very little code in most cases, this is not the same with ASP. I would recomment getting yourself a server that handles PHP or run a search on google for ASp file uploader scripts.

And don’t ask for code, try it yourself first then ask for help with whatever you have a problem with 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 19, 2004, 3:05pm UTC](https://forum.kirupa.com/t/inserting-a-binary-or-picture-to-a-database-using-asp/61519/3 "2004-08-19T15:05:38Z")

</div>

you can store the image on your server in a directory, then have the database record point to that pictures link -

and then with some clever image tags and variables get the picture to display with the rest of their information when the database is queried.
