help with uploading files
Posted: Mon Jun 17, 2002 12:05 pm
I need to let a user choose a picture from his/her hard drive and upload it to a folder on my computer; i need to be able to reaname the file to mysql_insert_id() so it is a different name every time but i dont know how to save the file to my folder or rename it without losing the ext. (.gif, .jpg).
How can i do all this and if you could, how can i only allow jpg's and gif's to be uploaded? if you dont understand what im sayong but think u can help, PLEASE email me at chris12295@aol.com.
How can i do all this and if you could, how can i only allow jpg's and gif's to be uploaded? if you dont understand what im sayong but think u can help, PLEASE email me at chris12295@aol.com.