I don't know how to upload a file that a user selects with a browse button in html to a site. Can someone help me with that and also i need that name of the file to be changed on the site to a number which is number of all files in the directory. Name changed after wards so it is included in that number. Any help?
06-09-2005, 01:59 AM
The docs have a pretty good intro to using the basic upload functions and $_FILES array here (http://us3.php.net/manual/en/features.file-upload.php).
06-10-2005, 12:02 AM
i looked at that and i am really confused about how that works. Any help?
06-10-2005, 12:05 AM
Which part are you confused about?
06-10-2005, 02:03 AM
I am confused about the whole file upload thing. I keep reading it and the scripting does not make sense to me.
06-10-2005, 02:13 AM
I try there sample but they wont upload!
06-10-2005, 02:44 AM
Are you getting any errors, or does the file just not upload? Please post the code you're using, including the HTML form.
06-10-2005, 02:45 AM
ok nvm i got a friend to help me fix it but he decided to write me a different script. But thanks for your help.