Tip for cookies
| From: | Pat Hanna | Date: | Tue, 17 Apr 2001 22:36:45 +0000 |
| Subject: | Tip for cookies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49073@lists.php.net to get a copy of this message | ||
I found out today after suffering from minor headaches and hair loss that if
you have functions defined in and outside file name 'foo.php', and in those
functions you use cookies, you must pass those cookies to the function
called. I tried using a value from a cookie in a function and it never could
access it unless I passed it. Funny
--
Patrick Hanna
Database integration--E-commerce solutions
The Wentworth Company