On Fri, Oct 03, 2003 at 04:31:23PM +0100, [EMAIL PROTECTED] wrote:
: 
: I currently remember my visitors on my site by setting a cookie thusly:
: 
: setcookie("logged", "yes");
: 
: On each protected page, put an IF ($logged == "yes") { //show page etc } 
: else {//show login form etc }

You should use $_COOKIE['logged'] instead.  :-)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to