Hey man,
well, the syntax
setcookie("cookie","lien",time()+3600);
is definitly fine. So the problem is probably somewhere else...
try this out:
file1
setcookie.php
<?
setcookie("cookie","lien",time()+3600);
Header("Location: testcookie.php");
?>
file2
testcookie.php
<?
if(isset($_COOKIE["cookie"])
echo $_COOKIE["cookie"];
else
echo "Cookie not set!";
?>
k, so pretty much if you get a 'Cookie not set!' message that would mean the problem is somewhere else... maybe with your internet browser settings, or with your php settings.
so... have a look and see what happens.