Re: php cookies
| From: | Joe Stump | Date: | Thu, 05 Oct 2000 06:54:31 +0000 |
| Subject: | Re: php cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18708@lists.php.net to get a copy of this message | ||
Make sure that the cookie is being set to the domain name - check up in the
manual but the domain should be ".domain.com" (notice the first dot) - the
setcookie() function always give me headaches...
--Joe
On Thu, Oct 05, 2000 at 03:50:49PM +0930, scott wrote:
> Is this possible:
>
> I have created the cookie called ezi and populated it with values using the
> array method (setcookie("ezi[0]", $data)) so it can contain more than one
> value.
>
> Now I have redirected the user to a new page and I need to know if I can
> access the same cookie, and how to. I can access the cookie from the page
> that I created it in because php recognises that it is creating a cookie and
> also creates vars to the same value ie $ezi[0] would be equal to $data.
>
> thanks
>
> scott.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
/*****************************\
* Joe Stump *
* www.Care2.com *
* Office: 650.328.0198 *
* Extension: 122 *
\*****************************/
http://www.miester.org/Joe/Stump/Joe_Stump_resume.html
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$
N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@
5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)!
------END GEEK CODE BLOCK------