
January 9th, 2004, 03:03 PM
|
|
Contributing User
|
|
Join Date: Aug 2003
Location: Ireland
Posts: 54
Time spent in forums: 2 h 26 m 41 sec
Reputation Power: 5
|
|
|
Upload image & change filename before storing
Hi Guys,
I'm looking for a PHP script that will allow a user to do the following:
1) Supply information with & upload a picture
2) Verify the picture is a jpg
3) Insert the information into a MySQL database
4) Change the the picture name to match the new database row id before storing the picture in a directory
Can anyone please help me out, I've been searching for a while now and I can't find what I'm looking for. I'm relatively new to PHP / MySQL I just can't seem to be able to put my own script together.
If someone could point me in the right direction I would really appreciate it.
Thanks in advance,
Frank.
|