in reply to I need a simple web upload script.

is there anyway to do this without using the cgi_lib? and what should the file permissions be (as in the folder to be uploaded too).

Originally posted as a Categorized Answer.