in reply to Testing form params
Well, others will probably come up with even better snippets, but I'll give it a shot too ;)
Since, you check for $ip in all cases, why not do it a little like this?
if($ENV{REMOTE_ADDR} ne $ip) { if($name =~ /^administrator$/i || $name eq "Admin" || $name eq "web +master") { print "<font......"; } }
HTH
|
|---|