I want to use a
<input type=file name=file>
to allow someone to upload a file to a directory on my server.
How do I do that in the script?
There is a whole section in the manual on Handling File Uploads. the information you're asking for is there.
Tried that...Just made me even more confused.