From:                   neill <[EMAIL PROTECTED]>

> hi, i am very new to perl and cgi so please excuse this dull, stoopid 
> question...
> 
> but i'm trying to write a formmail program and i'm getting very frustrated 
> cos it works in Opera 5.12 and NS6.1 but for some reason in IE6 it doesn't. 
> for some reason IE can't tell whether a field has been filled in or not... 
> well here's the code... i'm _sure_ this is right  :)
> 
> # check fields aren't empty
> 
>      if ( $FORM{name} eq "" || $FORM{email} eq "" ) {
>        &err("hey stoopid");
>      }
> 
> when i try the form in internet explorer i _always_ get the error message 
> (and yes i am filling both fields in).

Maybe the problem is with case sensitivity. Do you use GET or 
POST ? If GET (the parameters get appended to the URL) check 
that all browsers use the same case for the variable names (all 
lowercase).

Also try to print the content of %FORM.

Jenda


=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

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

Reply via email to