Forum Moderators: coopster

Message Too Old, No Replies

Cookies are stored in my web browser but not shown by PHP

print_r($_COOKIE) won't work

         

guarriman

11:25 am on Oct 15, 2007 (gmt 0)

10+ Year Member



Hi.

Working with PHP 4 and Firefox 2, I'd like to remove some cookies.

These cookies are stored within my web browser (Edit > Preferences > Privacy > Cookies):
subdomain.examplecom ... email_stored .... john%example.com
subdomain.example.com ... pass_stored .... fd9f9fdjfdfdf

But when trying to show them by using (executed in http:*//subdomain.example.com/cookies/test.php)
----
print_r($_COOKIE)
------
they're not showned!

Any similar experience?

Thank you very much.

[edited by: dreamcatcher at 11:35 am (utc) on Oct. 15, 2007]

jatar_k

7:23 pm on Oct 15, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



how were they set?

the subdomain may not be allowed to see them if you didn't set them as

.example.com