michaelkirby Posted March 28, 2010 Share Posted March 28, 2010 Hi, I have a question regarding file uploads. I have a profile page which displays a user details that they registered. This data is displayed from the users table. For the profile page I would like to add a display picture. From my understanding I would need to store this as a BLOB in the DB?? How would I then recall this picture and display it? I have created a a simple file uploader which can upload to a folder on my computer, is this re usable? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/196803-upload-photo-and-file-upload-question/ Share on other sites More sharing options...
litebearer Posted March 28, 2010 Share Posted March 28, 2010 Many of us believe it is easier to store the image in a foder and only put the path/name in the database Quote Link to comment https://forums.phpfreaks.com/topic/196803-upload-photo-and-file-upload-question/#findComment-1033109 Share on other sites More sharing options...
michaelkirby Posted March 29, 2010 Author Share Posted March 29, 2010 Hi, Thanks for your advice, How do I go about storing the path of the file in the database?? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/196803-upload-photo-and-file-upload-question/#findComment-1033486 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.