weird php error

From: Date: Fri, 29 Aug 2003 05:38:44 +0000
Subject: weird php error
Groups: php.db php.db 
Request: Send a blank email to php-db+get-30209@lists.php.net to get a copy of this message
Hi guys, This is weird to me.. I got this script --------------------------------------------------- <?php if ($_GET[login] == 'forgot') { echo "Sorry I forgot my password"; } else { echo "you are good to go"; } ?> ------------------------------------------------- when ran, it gives me this error ------------------------------------------------ Notice: Use of undefined constant login - assumed 'login' in G:\Inetpub\wwwroot\test\index.php on line 3 Notice: Undefined index: login in G:\Inetpub\wwwroot\test\index.php on line 3 good to go What is this all about? The script look fine to me. Thanks in advance for your support

« previous php.db (#30209) next »