PHP Image Upload
Posted: Thu Jan 29, 2004 8:58 pm
Hi I am experimenting with a small script that I am writing basically I have a form with these values name email comments image the image value is for uploading images this is all going into a database the image value in the database I specified as varchar because I had read it is better to specify the path to an image instead of loading the image into the database now in my php script when I pass the values I am stuck because I don't know how to specify the path so the database can read it would i just specify my image variable like this
then when I insert the image into the database would I just use the variable $image
anyhelp is appreciated cheers
Andrew
Code: Select all
$image = "/path/to/my/folder";anyhelp is appreciated cheers
Andrew