Solarpitch Posted October 18, 2006 Share Posted October 18, 2006 Hi Guys,Is it possible to upload images into a file on your web apllications folder and reference the file path in the database?So the user will upload a profile photo, the photo will be stored in "c:\Webapps\Images" and this path possibly stored in $imgPath or something?How could I achieve this? I am so lost it's not even funny! Link to comment https://forums.phpfreaks.com/topic/24360-storing-image-into-file/ Share on other sites More sharing options...
fenway Posted October 19, 2006 Share Posted October 19, 2006 The DB doesn't know what you're storing in a text field, so sure, you could store the path there. Personally, I would recommend storing a relative path to some base path that you have in your application for portability. Link to comment https://forums.phpfreaks.com/topic/24360-storing-image-into-file/#findComment-111377 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.