RE: [PHP] redirecting after login
| From: | John Holmes | Date: | Tue, 23 Jul 2002 10:42:16 +0000 |
| Subject: | RE: [PHP] redirecting after login | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109060@lists.php.net to get a copy of this message | ||
> why don't u do something like
>
> if (!username)
> { you can not access this page
> }
> else
> {
> //page content
> }
>
> ?
>
> that's a quick fix but might be all you need to do..
Umm...I hope register_globals is off...
www.yourdomain.com/yourpage.php?username=a_bad_user
---John Holmes...