Re: [PHP] Newbie password-check program

2001-02-20 Thread Chris Lee
try this. username = @$GLOBALS['username']; $this->passwd = @$GLOBALS['passwd']; $this->username = strtoupper($this->username); $this->passwd = strtoupper($this->passwd); if ($this->passwd == 'MYPASS' AND $this->username == 'RONALD') return 1; else return 0; } } echo

[PHP] Newbie password-check program

2001-02-20 Thread Ronald Hemmink
Hello there fellow programmer, I just started learning PHP (I got version 4 installed with Apache on a Win98 machine). At the moment I'm trying to write a little program that verifies a user login. I know the program is not professional but for me it will do. Only I got stuck with the following p