Page 1 of 1

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

Posted: Mon Oct 15, 2007 6:51 am
by guarriman
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):

Code: Select all

subdomain.example.com ... 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)

Code: Select all

print_r($_COOKIE)
they're not showned!

Any similar experience?

Thank you very much.

Posted: Mon Oct 15, 2007 7:20 am
by superdezign
Try getting a Firefox extension that shows you the cookies available to the current domain. Maybe you are confusing one for another.

Posted: Mon Oct 15, 2007 11:39 am
by guarriman
I installed "Add N Edit Cookies"
https://addons.mozilla.org/en-US/firefox/addon/573

The Firefox extension shows those cookies, but not PHP :(

Posted: Mon Oct 22, 2007 2:46 am
by feyd
What "path" were the cookies set to?