Reading all cookie values : _COOKIE « Cookie Session « PHP






Reading all cookie values

 
<?php
foreach ($_COOKIE as $cookie_name => $cookie_value) {
    print "$cookie_name = $cookie_value <br/>";
}
?>
  
  








Related examples in the same category

1.Checking for Cookie Support from PHP
2.Setting and Printing a Cookie Value
3.Get Cookie Data
4.Reading a cookie value
5.Printing a cookie value
6.Still Logged In with cookie