Jump to content

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


raza.shahzad

Recommended Posts

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.