Page 1 of 1
Image Upload Server-side Script
Posted: Mon Dec 01, 2008 2:07 pm
by hotblooded
I'm trying to have a form that allows a user to add a record to a table and upload an image at the same time. Is this possible? I want the filename to be recorded in the table as well. I've looked everywhere and all I keep finding is that I need to create a server-side script to handle the upload, but have yet to find any examples.
Any thoughts?
Re: Image Upload Server-side Script
Posted: Mon Dec 01, 2008 5:01 pm
by requinix
If you can't find examples then you're not looking very hard.
Try
this place.
Re: Image Upload Server-side Script
Posted: Mon Dec 01, 2008 5:24 pm
by hotblooded
Yeah...not quite what I meant...that doesn't tell me how to record the filename in a table...
I'm using phpmyadmin, by the by...
Thanks
Re: Image Upload Server-side Script
Posted: Mon Dec 01, 2008 5:45 pm
by requinix
Can you do the "add a record to a table"? It's the exact same thing.
If you can't then
keep looking for examples.