Solved

uploading the images in the database

Posted on 2003-10-22
8
154 Views
Last Modified: 2010-04-09
hi to all,

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

jyothi
0
Comment
Question by:jyothiB
8 Comments
 
LVL 3

Accepted Solution

by:
alexgreen earned 23 total points
ID: 9604986
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.
0
 

Author Comment

by:jyothiB
ID: 9606160
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
0
 
LVL 31

Assisted Solution

by:seanpowell
seanpowell earned 21 total points
ID: 9606478
This is actually a very good tutorial using PHP and MySQL:
http://codewalkers.com/tutorials/35/1.html
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Assisted Solution

by:Ket1
Ket1 earned 21 total points
ID: 9837397
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 10428555
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
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 10428579
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.)
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wrapper for APPs 9 77
Border and image sizing 5 20
Increase the size of the modal in Bootstrap 5 27
ASP server side get value 15 24
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question