RE: How to read cookies set by php?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Are you trying to read cookies that are not set by your host? If that is the
case you will probably be disappointed. The purpose with cookies is that
they should only be table to be read by the one who is setting the cookie.

If you want to read cookies on the machine that you are able to view just:

echo "<pre>";
print_r($_COOKIE);
echo "</pre>";

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free



-----Original Message-----
From: Dotan Cohen [mailto:dotancohen@xxxxxxxxx] 
Sent: Tuesday, January 02, 2007 4:17 PM
To: php php
Subject:  How to read cookies set by php?

I'm trying to debug some scripts, and I see that the contents of
cookies seems to be encoded (in Firefox2 on Kubuntu, at least). How
can one read the cookies stored on his machine?

Dotan Cohen

http://what-is-what.com/what_is/gmail.html
http://datip.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux