Jump to content


Should I upload images to the database?

  • Please log in to reply
No replies to this topic

#1 danbluenun

  • Members
  • PipPip
  • Member
  • 11 posts
  • LocationYorkshire UK

Posted 17 November 2005 - 08:08 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!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users