Cannot set Cookies in linux with php codes

February 13, 2011 at 04:48:49
Specs: Linux i686
I try to set cookies and then check if it found or not in linux with this code
<?php
setcookie("user1","qewyuio",time()+600);
if(isset($_cookie["user1"]))
{
echo"Found";
}
else
{
echo"Not Found";
};
?>
But!!!
When I check it said "Not found"
Now Can Anyone tell me where is the firefox put its cookies(because I use it)
and How can I but cookies
And is this problem causes by permissions

See More: Cannot set Cookies in linux with php codes

Report •

#1
February 13, 2011 at 07:35:10
It's $_COOKIE

(casing matters)


Report •
Related Solutions


Ask Question