Re: Tip for cookies
| From: | John Monfort | Date: | Thu, 19 Apr 2001 07:45:28 +0000 |
| Subject: | Re: Tip for cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49329@lists.php.net to get a copy of this message | ||
Is that still true when you include the file?
Say you have a notfoo.php file, and include foo.php in it. You don't
still have to pass the cookies, do you?
__________John Monfort_________________
_+-----------------------------------+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-
On Tue, 17 Apr 2001, Pat Hanna wrote:
> 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
>