Welcome Guest ( Log In | Register)



3 Pages V  < 1 2 3  
Reply to this topicStart new topic
> Can You Add Images Into A Mysql Database?, Using Php?
iGuest
post May 11 2008, 12:42 PM
Post #21


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Storing an image as an image
Can You Add Images Into A Mysql Database?

Hello,

I have a problem with storing images in my database so I started searching the web. It seems like everybody is with storing the link of the image rather than storing the image itself in the database.

I don't know if My case is different, I am designing a website with which people fill in a form and submit their images (as part of the application). Isn't it better to store the image itself rather than the url since images will be at a remote location?

I have used longBLOB and it seems to store the image as a string of numbers but I am not sure how to retrieve the image as an image not numbers.

How do I go about it? Can anybody help?

Thank you

-reply by LittleB
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Problem On Mysql "order By"(5)
  2. Increment A Mysql Column(6)
  3. Creating Profiles In Php/mysql ?(7)
  4. Php Search Engine Script For Mysql Database(11)
  5. Some Mysql Basics(4)
  6. Php, Mysql, Apache(4)
  7. My Code Doesnt Resize Large Images, Please Help.(2)
  8. Php And Mysql Applications(3)
  9. Getting Php 5 To Work With Mysql(0)
  10. Problem With A Mysql Join(2)
  11. Can Database Column Names Start With A Number?(1)
  12. The Artists Tutorials :mysql Basic Commands(0)
  13. Connecting Php Site To Database(6)
  14. [mysql]get Id Of Loged In User?(7)
  15. [mysql/php]need Som Basic Help(13)
  1. [php/mysql]id Trouble [resolved](3)
  2. Mysql Won't Update(4)
  3. Php + Mysql Question!(4)
  4. How To Display Images Of A Directory(4)
  5. Tools Needed!(9)
  6. Best Sites For Learning Php-mysql(4)
  7. How Do I Connect To Live Database With Php Script?(6)
  8. Ms-access Database Question(3)
  9. Php And Mysql Programming(2)
  10. Best Php And Mysql Editor For Noobs(6)
  11. Html Form!(4)
  12. Mysql Error(3)
  13. Create Table - Mysql Code - Help(1)


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:44 PM