On Tue, 11 Apr 2000, Master SinSorcerer wibbled:
Quote:> Does anyone know what apache presents to a cgi script when a field in a
> posted form is of type="file" and the enctype for the form is
> multi-part/form-data?
It presents the MIME-encoded content via the CGI interface, as
documented in the specs.
Quote:> I know Lincoln Stein's CGI.pm can handle this an passes a temp file handle,
> but for various reasons I can't use CGI.pm for this script.
Perhaps correcting whatever "reasons" are hindering you from making
use of this standard part of any current Perl installation would be
the most effective way of addressing your problem.
Otherwise I'd say it's up to you to study the specs and reinvent thw
wheel, or take your cue from the existing CGI.pm source and base
yours on that. I'm sorry if that sounds unsympathethic, but what do
you expect when you come here saying "I know what the solution is but
I won't use it and I'm not telling you why, so please help me"?