Share on Google+Share on Google+

PHP list cookies

In this tutorial we will see how to use and lists the cookie.We will create an example which displays all the cookies value at a time

  • PHP List Cookie are the internet data present on the client machine
  • These Cookies can be enlisted by the $_COOKIE super global variable.
  • $_COOKIE returns the all cookie values in the Array form.

Example of PHP List Cookies


($cookie as $key=>$val)
"<br>$key--> $val";

Output of PHP Cookies arraylist
amt--> 10000
rate--> 2
time--> 5 


Posted on: November 2, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.