Menu
Hello all,
Ive uploaded a site on a UNIX server (first time using one) and im having trouble setting a cookie. It works fine on my home wamp server.
This is the code ive been using to set my cookie
[code]
setcookie(“user”, “broidery”, time()+23600);
And using
[code]<?php
if (isset($_COOKIE[“user”])){
?>
blah blah
<?php
} ?>
The cookie doesnt seem to be setting. Anyone any idea where im going wrong?
Thanks