Gerektiği gibi ben de bazı html olan bir PHP komut dosyası bir çerez kuruyorum, ilk satırı setcookie fonksiyonudur.
<?php
setcookie("user", "xyz", time()+3600);
?>
<html>
------ some html tags
</html>
In other PHP script where am trying to access , i get a blank value . $user=$_COOKIE["user"];
Herkes bu neden oluyor bana söyleyebilir?