Re: password-protecting with PHP, help plz
| From: | Curt Zirzow | Date: | Sun, 19 Sep 2004 15:21:36 +0000 |
| Subject: | Re: password-protecting with PHP, help plz | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197190@lists.php.net to get a copy of this message | ||
* Thus wrote AceZero2790@aol.com:
>
> This page shows up ok, with the form generating just fine. The problem is
> when I get to the action page, testing2.php. Here is that:
>
> <?php
>
> if ($_POST['user']) == me {
>
> echo "it's me!";
>
> } else {
>
> echo "not me";
>
> ?>
You have a parse error, no ending }
You should turn display_errors on in your php.ini and restart the
webserver.
Curt
--
The above comments may offend you. flame at will.