You should go here:
PHP 5 File Upload[
^]
Let me remind you: web/browser security is designed so that you cannot simply upload the file by name. A file selection dialog will open and the user will have to deliberately select the file for upload.
Note that the above page has some examples.
You'll need to be able to adapt them for your use.