uploading the images in the database

jyothiB
jyothiB used Ask the Experts™
on
hi to all,

how to store the images in the database i.e, bmp and jpeg and again how to retrieve them.

jyothi
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
you'll need to be a bit more forthcoming with some details.

what kind of database?
what is the overall function / reason for the site?

people will then be able to provide more of an answer.  remember different databases use different ways of storing images and different site functions may require you to do it in a different way to others.

Author

Commented:
i am using mysql front,

actually i am learning php.

suppose if i want to store the users photo in the database, how to store the photo, and after that if the user is logged in how the retrieve the image from the database..

jyothi
Top Expert 2004
Commented:
This is actually a very good tutorial using PHP and MySQL:
http://codewalkers.com/tutorials/35/1.html
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Michel PlungjanIT Expert
Top Expert 2009

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: georgemarian {http:#9606478} & Ket1 {http:#9837397}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

mplungjan
EE Cleanup Volunteer
Top Expert 2004

Commented:
Just a thought - given the timestamp on the Q's it's likely that alexgreen wasn't available to repost before we did.
(I wouldn't want to penalise him for taking the time to get a clarification on the question before posting links...)
Plus the sentiment that this type of thing is "very much" platform and server dependent is a valuable one.

Recommend a 3-way split.

(BTW -  I think you're doing a great job Michel - we appreciate it.)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial