On Fri, Oct 03, 2003 at 08:57:17AM -0700, Chris Shiflett wrote:
:
: --- Eugene Lee <[EMAIL PROTECTED]> wrote:
: > >
: > > On each protected page, put an IF ($logged == "yes") { //show page etc }
: > > else {//show login form etc }
: >
: > You should use $_COOKIE['logged'] instead. :-)
:
: While we're talking about "should", you should also never trust what
: the client sends, including cookies. :-)
But if you take this to its natural conclusion, then you should never
trust the client. :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php