473,396 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

i have a form that works, now i want to upload an image

Hi Everyone,

I'm working on a form for an auto body shop admin section. It's a staff section so the owner or whoever can add/delete/edit any staff members which will then display on a staff page on the site. I've created the form in ASP and using an SQL database. It's writing the data fine but now i want to add the option to upload an image so they can put an image of themselves up there.

Can anyone point me in the right direction so I can achieve this or help me out in some sort of way? Thanks a bunch and rock on!

Stefan.
Feb 20 '08 #1
4 1423
jeffstl
432 Expert 256MB
I have used this for an exact same need you are describing.

http://www.freeaspupload.net/

The source code from this site is great for this problem.
Feb 20 '08 #2
CroCrew
564 Expert 512MB
Hello WideOpen,

You could store the picture in SQL as a BLOB type or you could upload the file to the server using a component like Persits (www.Persits.com) and store the name of the file in SQL. What every way you decide we can support you if you run into a problem.

Good luck and happy coding~
Feb 20 '08 #3
markrawlingson
346 Expert 100+
Persits is the way to go IMO.

I wouldn't store the name of the image in your database though, there's no need. Just go with a folder based hierarchy using the FSO object in conjunction with persits and you can pull off some pretty slick stuff without even touching your db.

Sincerely,
Mark
Feb 20 '08 #4
Thanks everyone. This site is the best. 2nd time i posted and got excellent results from good people. I got it working and I'm very pleased with it. Thanks again everyone and stay awesome!
Feb 21 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Beowulf | last post by:
Hi Guru's, I have a query regarding using PHP to maintain a user profiles list. I want to be able to have a form where users can fill in their profile info (Name, hobbies etc) and attach an...
4
by: Nomen Nescio | last post by:
can anyone be so kind as to look at http://www.mysolution.ws/HYPOCRITE.php and let me know why it isn't passing the form data to http://www.mysolution.ws/insertHYPOCRITES.php for the most...
6
by: Christopher Brandsdal | last post by:
Hi! I get an error when I run my code Is there any other way to get te information from my form? Heres the error I get and the code beneath. Line 120 is market with ''''''''''''Line...
8
by: Du | last post by:
I'm trying to automate the upload process to yousendit.com, but the file size doesn't add up and yousendit.com keep rejecting my upload (it accepts the upload until the very end) I don't know...
0
by: Benjamin Bittner | last post by:
Hallo NG, ive searched a lot in some google groups, and found many threads, but nothing that helped me. Here is the scenario: I have an aspx page which loads a user control in page.onInit like...
25
by: Neo Geshel | last post by:
This works: <form> <asp:TextBox id="name" /> <%= name.ClientID %> </form> But this DOES NOT work: <form>
5
by: Jefferis NoSpamme | last post by:
Hi all, I'm trying to limit the file size of an image submission and I keep running into various problems. I've got most of it working, but I'm stumped and I have a basic question as to WHY this...
2
by: bredsblocker09 | last post by:
i have created this upload form that will upload an image file... this works fine in both IE and firefox. I then created an identical form that will upload mp3 files. however this will work in IE but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.