You are totally correct; you've saved me the cost of a new monitor, which
was about to receive my forehead through it if I stared at this any longer.
Can't believe I made such a silly error - I have other forms where I
deliberately used the hidden field in exactly the way you point out, to
avoid the possibility of this problem.
Thanks!!!
//Thomas
Thomas K. Burkholder
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> On Mon, May 21, 2001 at 01:35:11AM -0700, Thomas K. Burkholder wrote:
> > Hi,
> >
> > I'm using libapreq to do http file uploads, works just fine on my
> > Debian/unstable desktop system, running Apache 1.3.14, mod_perl 1.25.
> >
>
> <...>
>
> >
> > The HTML looks something like this:
> >
> > <HEAD>
> > </HEAD>
> > <BODY bgcolor="#FFFFFF">
> > <FORM METHOD="POST" ENCTYPE="multipart/form-data" TARGET="main"
> > ACTION="areaj?pg=upload">
>
> Wild guess, change it in:
>
> <FORM METHOD="POST" ENCTYPE="multipart/form-data" TARGET="main"
> ACTION="areaj">
> <input type=hidden name="pg" value="upload">
>
> > <TABLE>
> > <TR>
> > <TD>Select File:</TD>
> > <TD><INPUT TYPE="file" NAME="filename" SIZE=40 MAXLENGTH=200></TD>
> > </TR>
> > <TR>
> > <TD></TD>
> > <TD><INPUT TYPE="submit" NAME="Upload" VALUE="Upload"></TD>
> > </TR>
> > </TABLE>
> > </FORM>
> > </BODY>
> >
> > And showing the perl isn't really important, since it doesn't get
> > called.
> >
> > Any ideas, anyone?
> >
> > Thanks,
> >
> > //Thomas
> > Thomas K. Burkholder
> > [EMAIL PROTECTED]
> >
>
> --
> The Moon is Waning Crescent (4% of Full)
> nieuw.nl - 2dehands.nl