|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hi All,
I wanna know how to store images (gif/jpg only) in MySQL. the MySQL db is being accesed via a PHP web Application. Hoping for your support |
|
#2
|
|||
|
|||
|
Hi,
You shouldn't store images in a database, but rather link them to the database. This will save a lot of time. Best regards, Dustin J. Cox |
|
#3
|
||||
|
||||
|
I don't know if saying one shouldn't store images in a database is a good suggestion...
It is possible, and in some cases would prove quite useful... Personally, I try not to; I would prefer to store the images in a certain directory on the server, and provide that location as a String/Varchar in the database. That being said, it is completely possible to store images in a table as a BLOB. Here's a quick tutorial on a different site that I've found... Create Thumbnail in PHP and database BLOB The site seems to have messed up the HTML entities, so that might make it tough to copy&paste the code... use it more as a guide |
|
#4
|
||||
|
||||
|
I just realized this is a double post... [i knew i answered this question yesturday]
Refer to the other thread for other answers Avoid posting in seperate forums... you'll get better results with a single thread in the proper forum... |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Storing Images in MySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|