hallo,
$ok = 0; $ok = /$ENV{'REMOTE_USER'}/$ENV{'HTTP_USER_AGENT'}/ ? $ok = $ok : $ok = $ok +1;
if ($ok >= 1)
{ bad user(); }
ok so gehts wohl nicht :( mein server meldet 500 error und spuckt folgendes aus:
syntax error at test.cgi line 26, near "/$username/$agent" Search pattern not terminated at test.cgi line 26. [Mon Mar 17 09:02:18 2003] [error] [client 62.2.20.4] Premature end of script headers: /home/var/www/geschützt/test.cgi Scalar found where operator expected at test.cgi line 26, near "/$username/$agent" (Missing operator before $agent?)
Grüsse vom Alain
--
...nichts ist so schlecht, als daß es nicht für irgend etwas gut wäre
...nichts ist so schlecht, als daß es nicht für irgend etwas gut wäre