Broken Cookies

From: Date: Tue, 04 Jul 2000 22:01:54 +0000
Subject: Broken Cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4825@lists.php.net to get a copy of this message
Can I send cookies from a php script, if the cookie code is included? I have a bunch of files that all need cookie code. I have this all working, except when I try to make a library routine and include, then the new cookie does not get sent. This code should put a 10 char cookie on the browser, and store it in the database, IF the retrieved cookie (from last time) matches what's in the database from last time. If no match, I don't store the new cookie, so you're locked out. All that logic is not here though, because the problem is only that the cookie isn't getting sent.
Here's the top of the cookie script, called random_cookie.php         The
-- www.SpamWhack.com A pre-emptive strike against spam A tornado is a lady whose skirts you do NOT want to look up! Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

« previous php.general (#4825) next »