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!
Storing Image into file?
1 reply to this topic
Posted 18 October 2006 - 06:02 PM
Welcome to 9AM Monday, the furthest point away from 5PM Friday.
Posted 19 October 2006 - 04:19 PM
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.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users