Printing a cookie value : _COOKIE « Cookie Session « PHP






Printing a cookie value

 
<?
print 'Hello, ' . $_COOKIE['userid'];
?>
  
  








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.Still Logged In with cookie
6.Reading all cookie values