hello
i have this code which allows a user to browse for an image and inserts the path into the text box
<input type="hidden" name="MAX_FILE_SIZE" value="200" />
<input type="file" name="image" />
it allows a max file size of 200kb
when the rest of the form is complete it inserts everything correctly into the database.
the above filed though appears as "C:\mypics\etc.jpg"
How can I get it so that when the form entry is updated to the db it removes that and either leaves it as etc.jpg or adds images/ to the front of it.
Also, how does that image actually upload and where to?
thanks
i have this code which allows a user to browse for an image and inserts the path into the text box
<input type="hidden" name="MAX_FILE_SIZE" value="200" />
<input type="file" name="image" />
it allows a max file size of 200kb
when the rest of the form is complete it inserts everything correctly into the database.
the above filed though appears as "C:\mypics\etc.jpg"
How can I get it so that when the form entry is updated to the db it removes that and either leaves it as etc.jpg or adds images/ to the front of it.
Also, how does that image actually upload and where to?
thanks