Cooking on the page



  • Hello, I'm putting a cube in this way.

    setcookie ("viewid", $_GET["id"]);
    

    She's added to the browser, but I can only call her on the page where she was installed, I went into the opera, opened a bunch of structures, and before the name of the cuisine, the viewid entered the inscription, That's the name of my page, the question is, how do the whole site see this cube?



  • Based on documentation: http://ru2.php.net/setcookie

    $time = 0; // до перезагрузки броузера
    setcookie("viewid", $_GET["id"], $time, "/");
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2