Dear Sam
CGI.pm is the module of choice on this. It comes with the standard
distribution, so you already have it (probably). In the documentation, go
to the section titled, CREATING A FILE UPLOAD FIELD. It is easy.
Ron
At 10:33 PM 04/29/00 -0400, Sam Carleton wrote:
>Sam Carleton wrote:
>>
>> I am in a very tight spot right now. I need to have some C++ code
>> posting data to a web browser vi 'multipart/form-data' by Monday. I
>> would REALLY like to have either a normal perl CGI script or mod_perl
>> script that will simply display all the information POSTed to it from my
>> code. Is anyone up to the task, or able to give me some pointers on how
>> I can do this myself?
>
>I LOVE answering my own questions:
>
>#! /usr/bin/perl
>
>#cgi-lib.pl was optained from http://cgi-lib.berkeley.edu/
>require "cgi-lib.pl";
>
>ReadParse();
>
>print PrintHeader();
>print HtmlTop("POST/GET Display");
>print PrintVariables();
>print HtmlBot();
>
>exit 0;
>
>