Re: ID variable alsways set

From: Date: Mon, 04 Mar 2002 15:46:42 +0000
Subject: Re: ID variable alsways set
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87109@lists.php.net to get a copy of this message
On Monday, March 4, 2002, at 02:25 AM, Rasmus Lerdorf wrote:
Do a phpinfo() and check to see if you perhaps have a cookie with the name "id" set with the value "1". If your look at variables_order in your php.ini file, you will see that cookie data will override get-method data. To force a read from the GET data, use $_GET['id'] instead of $id.
This post gave me an idea -- is it possible to write a quick mini-script that would allow me to see the contents of all cookies stored in my browser in a web page? I know that technically I could just open up the browser's prefs and look at them this way, but I could format the cookie list/contents better with a script, and it wouldn't require me clicking all over my preferences (I have a lot of cookies too). Just a thought. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#87109) next »