Here's the dilema....
I have a site, and I want users to be able to submit some information to a database... so for example
PHP Image Upload: Ajax?
I don't want to use sessions, or anything of that matter if at all possible, because there's no need to log anything or store information about any of this, submissions are from anonymous visitors...
The thing I don't know how to do, is the upload. I can EASILY make a form, have it submit, and post data to a MySQL table, but how do I do the image upload so that the database knows where the image went, and can post that in the table too...?
I want it to all be done in one go, unless somehow I have them upload the image on a "next" page, but i don't know how I would then verify which image was for what "posting". I need the image to be put in the db with that other info. Just the relative URL to where it was uploaded, as it will be displayed on the site.
hopefully someone understands and can help me out, I need suggestions or preferably code examples on how to do this. Thanks alot guys.