Serious problem with Cookies..
| From: | PHPGalaxy.com | Date: | Thu, 15 Nov 2001 11:57:50 +0000 |
| Subject: | Serious problem with Cookies.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74700@lists.php.net to get a copy of this message | ||
I started an affiliate program to sell my scripts, and it uses cookies
for tracking.. I didnt know it at the time, but as soon as the web
browser's closed, the cookie info is gone. grrrr! I need it to stay
there *permanently*! =) Here's the code I have no for both setting and
retrieving..
retrieving: $refid = $HTTP_COOKIE_VARS["refid"];
setting: setcookie ("refid", $id);
Am I just missing something I didnt see on php.net? =)
--
From PHPGalaxy.com, earn up to $10 per order selling our PHP Scripts
and Software on your Site. http://www.phpgalaxy.com/aff/
Also, get a fast free POP3 email account, you @php.la at
http://www.phpgalaxy.com/search/