Re: Am i crazy?
| From: | Martin | Date: | Sun, 04 Nov 2001 20:24:08 +0000 |
| Subject: | Re: Am i crazy? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73416@lists.php.net to get a copy of this message | ||
Richard Baskett wrote:
> It has to do with the $name variable, if you've fixed the code to check
> for equality instead of setting the variable:
>
> if ($name=='admin') {
>
> Echo $name and make sure that it is actually getting set..
Yes.
> Also make sure your header information is before html..
There isn't any html in the page at all. It's intended as a switchboard for
people logging in to be redirected according to user name.
>let's see.. yeah
> that's about all I can think of.. if $name is echoing something then I
> have no clue why it's not working :(
Martin S