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

Re: [MacPerl-WebCGI] File Upload cgi - Yet again...



> > it seems like the CGI glue cannot handle the file upload feature.
>
>My hunch is, try setting $CGI::TMPDIRECTORY to something useful:
>
>    $CGI::TMPDIRECTORY = 'Macintosh HD:Temp';

Are you sure?

That's a good idea and probably a necessary step, but I find that the 
process still fails in the same way, which makes me suspect either 
the MacPerl CGI glue or the web server (Quid Pro Quo).

Here's the deal:

If I call my CGI script with a form containing:

<INPUT TYPE="file" NAME="upload" size=50>

not only is no filename passed to MacPerl, but no form variables are either.

If I comment out that form element, of course I don't get a file 
upload (or even a filename) but the rest of the form variables 
reappear.

(I can post the HTML form and CGI script if anyone cares, but they 
are a tad long.)  The fact that including the file upload feature not 
only doesn't work but also takes out the rest of the form variables 
leads me to suspect either the web server or the CGI glue.

Control: the same HTML form and CGI work fine under Linux.

-David-
David Steffen, Ph.D.
President, Biomedical Computing, Inc. <http://www.biomedcomp.com/>
Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com

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