I am trying to figure out how to setup a simple form so someone can upload a file to the server. I have someone out of town I am working on a site for, and want an easy mechanism for them to transfer files to me, images and word docs so I can then pull them into the site.
I am planning to create a folder with a password control to grant them access.
Then I envision a simple form like this:
<form action="doupload.php" method="post">
<input name="file1" type="file">
<input name="file2" type="file">
<input name="file3" type="file">
<input name="file_etc" type="file">
</form>
<input name="Submit" type="button" value="Submit">
</form>
So my question is, in the doupload.php file what would I need to do to have it take the files and load them into the folder on the server?
I have done quite a bit with php but never tried to have it upload a file. Anyone know some examples or tutorials I could look at?
Thanks