Jump to content


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


Should I upload images to the database?

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!

Share this post

Link to post
Share on other sites


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.