Jump to content

Uploading An Image To A Database


JayLewis

Recommended Posts

I am just wondering if you can upload a picture the MYSqL database using PHP.

 

I was thinking about it and the way i "think" it would be done is:

 

You upload the image to a directory and at the same time, it creates a link and puts the link into the database pointing it towards the image on the server.

 

Is that the correct way to go about it?

 

and how would i do it?

 

Thanks

 

JayLewis

Link to comment
https://forums.phpfreaks.com/topic/43271-uploading-an-image-to-a-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.