$StudentId = "weather.htm99999995";
if (!isset($_COOKIE["weather.htm$StudentId"]))
if(!isset($_COOKIE[$StudentID]))
{ echo "Cookie not found, not reading weather.htm$StudentId<br>"; echo "\$_COOKIE[\"weather.htm$StudentId\"]". $_COOKIE["weather.htm$StudentId"]."-<hr>";
}else{ echo "cookie found, yay! ".$_COOKIE["weather.htm$StudentId"]."-<hr>";
echo "cookie found, yay! ".$_COOKIE[$StudentId]."-<hr>";
#phpinfo(); } ?>
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php