Re: [PHP-DB] pulling my hair out

2001-07-11 Thread Dobromir Velev
TECTED]> Date: Thursday, July 12, 2001 7:19 AM Subject: [PHP-DB] pulling my hair out >I have one script that looks like this: > >setcookie ("logged_in", "yes", time() - 3600); >setcookie ("logged_user_name", "brad", time() - 3600); >?> >

Re: [PHP-DB] pulling my hair out

2001-07-11 Thread Tom Peck
Stupid html e-mail... That code may not come through properly... copy it from the site, as what's below is only half complete. Tom At 16:23 12/07/2001 +1200, you wrote: >Brad > >Try this: >-- >$status = 0; >if (isset($myTstCky) && ($myTstCky == "ChocChip")) $status =

Re: [PHP-DB] pulling my hair out

2001-07-11 Thread Tom Peck
Brad Try this: -- Cookie Check Cookie Check Status: %s ;', $status ? "00FF00" : "FF", $status ? "PASSED!" : "FAILED!"); ?> --- It's taken from here: http://www.php.net/manual/en/function.setcookie.php If that still fails to work

[PHP-DB] pulling my hair out

2001-07-11 Thread Brad Lipovsky
I have one script that looks like this: SENT and another that looks like this: "; echo $HTTP_COOKIE_VARS["logged_in"]; print ""; echo $logged_user_name; print ""; print "end"; ?> which I have also tried like this: "; echo $logged_in; print ""; echo $logged_user_name; ?> It seems like