Jump to content

Should I upload images to the database?


danbluenun

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/2887-should-i-upload-images-to-the-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.