[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] MacPerl, multipart/form-data, CGI.pm



Christian J. Schaller wrote:

>Well, what do you know. I see now (according to MacPerl: P & E,
>the distributed version of CGI.pm that comes with MacPerl /can't/
>handle file uploads. That'd be CGI.pm v 2.36.
>
>I see on CSPAN there's a CGI.pm v 2.49 available. Does anyone know
>it /that/ will do the trick? I suppose I could just download and
>install the thing myself and find out, huh?

I think we'd have heard on the MacPerl lists if a version of CGI.pm were
finally able to handle file uploads on Mac.

Lincoln Stein, the author of CGI.pm has a web site that might be
enlightening (I don't have the URL handy -- he's connected with the Human
Genome Project).

Also, remember this: when you're using CGI.pm's functions to write your
HTML form, and you want it to handle file uploads, be sure to use the
function start_form_multipart() instead of plain start_form() [and check my
capitalization]...
- Bruce

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bruce Van Allen
bva@cruzio.com
408/429-1688
P.O. Box 839
Santa Cruz, CA  95061

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org