Hey guys heres a simple cookie that i'm trying to use
setcookie("test7","data",time()+10);
if(!isset($test7))
{
echo "Setting";
} else {
echo "Already present";
}
I set the expire time to +10 seconds for testing reasons. But if I remove the expire part of the cookie it works no problems. I just need a cookie that sets and will stay for 12 hours 🙁 Been searching for 2 days and nothing. I thought it might of been a problem with php 4.0.6 but i upgraded to 4.2.0 and same problems. Any ideas? Thanks
-
Zak