I have one script that looks like this:
?php
setcookie (logged_in, yes, time() - 3600);
setcookie (logged_user_name, brad, time() - 3600);
?
html
head
/head
body
SENT
/body
/html
and another that looks like this:
?php
print start br;
echo $HTTP_COOKIE_VARS[logged_in];
print br;
echo
Brad
Try this:
--
?php
$status = 0;
if (isset($myTstCky) ($myTstCky == ChocChip)) $status = 1;
if (!isset($CCHK)) {
setcookie(myTstCky, ChocChip);
header(Location: $PHP_SELF?CCHK=1);
exit;
}
?
html
headtitleCookie Check/title/head
body bgcolor=#FF text=#00
Cookie
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:
--
?php
$status = 0;
if (isset($myTstCky) ($myTstCky == ChocChip)) $status = 1;