Jump to content


Photo

which one is better, storing images in MySQL database or elsewhere...


  • Please log in to reply
1 reply to this topic

#1 raza.shahzad

raza.shahzad
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 15 August 2006 - 10:16 PM

dear friends,
while working on a project i came across a question which i asked to my-self. the answer seems to be very straight forward but to satisfy my mind i want opinions from you people.
the question is:
is it better to put images(that are uploaded from client side onto the server side) in a database say MySQL, or putting the paths to images in database and images in separate directories is a better approach as there are a few constrains while adopting any one of the two techniques. these constrains are not only the consequence of PHP programming tricks but also due to the work needed to be done for the accomplishment of job.

#2 SharkBait

SharkBait
  • Members
  • PipPipPip
  • Advanced Member
  • 845 posts
  • LocationMetro Vancouver, BC

Posted 15 August 2006 - 10:20 PM

I put the filenames and information about the images into the database and then link them with the actual image itself in another folder.

But thats me.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users