On Sun, 25 Nov 2001 01:45:19 +0000
"neill roy" <[EMAIL PROTECTED]> wrote:

> 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");
>     }

try printing it directly withour checking for ""...

print (param('name'), "<BR>", param('email'));



> 
> 
> when i try the form in internet explorer i _always_ get the error message 
> (and yes i am filling both fields in).
> 
> 
> any ideas? (mutters: please not the syntax please not the syntax please not 
> the...)
> 
> 
> thanks,
> 
> 
> fuzzylogic.
> 
> [ http://www.mooseriot.co.uk ]
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> -- 
> 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