[Memphis.pm] [Fwd: Re: [GOLUM] CGI: file upload widget processing]
cameron walker
cameronw at informix.com
Wed Mar 15 10:29:56 CST 2000
>
> How do you upload a file using HTML/CGI?
>
> Below are the guts of the HTML I wrote. What do I have to do within the
> CGI to actually write out the contents of a choosen file onto the disk
> of the server? So far all I can do is print out the name of the file but
> none of the contents.
>
> </head>
> <body>
> <FORM METHOD="POST" ACTION="../cgi-local/test.pl"
> ENCTYPE="multipart/form-data">
> <TABLE COLS="1" CELLPADDING="0">
> <TR>
> <TD>
> <INPUT NAME="file" TYPE="file">
> <INPUT NAME="submit" TYPE="submit" VALUE="Initiate">
> </TD>
> </TR>
> </TABLE>
> </FORM>
> </body>
> </html>
Subscribe to Memphis.pm, post your question there, and I'll be happy to
answer.
----------------------------------------------------------------------------
To unsubscribe, please send email to majordomo at pm.org
with 'unsubscribe memphis-pm-list' in the body of the message.
----------------------------------------------------------------------------
More information about the Memphis-pm
mailing list