Page 1 of 1

Upload picture

Posted: Sun Jun 04, 2006 10:27 am
by mistux
I am trying to make a page where my users can enter a person's name then, otpionally, upload a picture of them. And then write it all to the database and "deal" with the picture.

I allready have the working code for entering a name and storing it in my MySQL database, but I don't have a clue as how to deal with the "optional" picture upload and subsequent "dealing" with that file.

I would appreciate any sample code to upload the picture and storeing the reference along with the name that was entered. And any other suggestions.

Thanks.

Posted: Sun Jun 04, 2006 11:19 am
by PrObLeM