Wim Kerkhoff wrote:
> On Fri, Sep 08, 2000 at 02:07:36PM -0400, Peter S Galbraith wrote:
>
> > [+ foreach $key (%fdat) { print "$key -> $fdat{$key}\n" } +]
>
> Doing a print this way will not output to the browser. You
> having to print to the OUT handle, which is STDOUT in embperl:
>
>
> [+ foreach $key (%fdat) { print OUT "$key -> $fdat{$key}\n" } +]
Ouch. I have a lot to learn.
> You could also do it the embperl way:
>
> [$ foreach $key (%fdat) $]
> [+ $key +] -> [+ $fdat{$key} +]<br>
> [$ endforeach $]
I tried this, and I still get the same error. Guess the problem
is somewhere else in spite of my poor coding efforts.
I finally got the script to work by editing the ACTION tag in the
calling form, from:
ACTION="http://mixing/embperl/form-parse"
to:
ACTION="http://mixing/cgi-bin/embpcgi.pl/embperl/form-parse"
so I guess it's an apache configuration problem. I'm allowed to
post to /cgi-bin but not to /embperl somehow.
> BTW, this is in the FAQ and/or documentation and/or mailing list archives at
> http://perl.apache.org/embperl.
I've looked!
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]