Jump to content

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

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.