[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: <FILE> upload using Perl

On Wed, May 10, 2000 at 10:58:17AM +0530, Rohit Singh wrote:
> I just want a code snippet of the "PerlScriptThatIWant.pl" This CGI-perl
> script should read the POST request, and put all this file data into a
> file called "TEMPFILE"

Such a script would be dependent on the encoding of the data.
Are you expecting application/x-www-form-urlencoded or
multipart/form-data ? I'd guess the latter. In that case you need
something that accesses the MIME library too.