an easy file upload script.
specify the filetypes allowed, the max filesize and the directory to upload the files.

download options for file handling / file upload

you can download the source as PHP file,

open the file as plain text in a new window or

get the code in a textarea to copy it.