I have been running this directly from the form in my browser using the post
method
and yes this is the whole script


----- Original Message -----
From: "drieux" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 12, 2002 10:46 PM
Subject: Re: Validation Error


>
> On Sunday, May 12, 2002, at 06:44 , Bill Lyles wrote:
>
> > Ok here is the whole script, and as I said this was generated bt
> > Perbuilder
> > 2.0 and the email part was generated by Code Magic.
>
> this is gonna sound like a silly question - but are
> you testing this at a command line and not from a webPage?
>
> I ran it from the command line - and got the error that
> you mentioned....
>
> but when I tweeked the GetFormInput to be
>
> if ($ENV{'REQUEST_METHOD'} eq 'POST') {
>    read(STDIN,$buf,$ENV{'CONTENT_LENGTH'});
>   } elsif ($ENV{'REQUEST_METHOD'} eq 'POST') {
>    $buf=$ENV{'QUERY_STRING'};
>   } else {
>   $buf = '[EMAIL PROTECTED]&spot=dog';
>   }
>
> it would print that the email part was ok,
> in that it did not fail out....
>
> Which leads us ot the next part of the problem -
> if that is the whole of the script - is this being
> called by some other code that was suppose to have put
> all of the data together and done the POST or GET????
>
> ciao
> drieux
>
> ---
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to