See CGI about file uploads.
In reply to Re: passing a file to a cgi script by Corion in thread passing a file to a cgi script by Angharad