Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 27th, 2012  |  syntax: None  |  size: 0.18 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <html>
  2.         <head>
  3.                 <title>cookie </title>
  4.         </head>
  5.         <body>
  6. <?
  7. setcookie ("trozo","cagada",time()+2);
  8. echo "el valor de la cookie es:";
  9. echo $_COOKIE['trozo'];
  10. ?>
  11. </body>
  12. </html>