Author Topic: Should I upload images to the database?  (Read 1048 times)

0 Members and 1 Guest are viewing this topic.

Offline danbluenunTopic starter

  • Irregular
  • Posts: 29
    • View Profile
    • Self Help Books UK
Should I upload images to the database?
« on: November 17, 2005, 03:08:48 PM »
I'm quite new to MySql and PHP and I'm wanting my client to be able to upload her own photographs.

I've tried uploading the images to the directory but have hit a brick wall that my hosting provider or anybody else seems unable to help me with.

My only other option is to upload the images straight to the database (am i right??). This would probably be easier, but i've read somewhere that it is more advisable to upload them to the directory and then "move_uploaded_file" to my chosen images folder.

My client would not be uploading too many photos - less than 50 per year - so am I ok to allow her to upload them straight to the databse? If not, what are the hazards?


Thanks, in advance!