I set the setcookie("lightbox", "bret", time()+604800, "/", "skata"); in index.php but it dosn't work.
I't dosn't do enything.
Someone HEEEEEEEEELP me please.
Problem with Cookies
Moderator: General Moderators
Try removing the domain, and see if that helps. Also, are you calling setcookie() before *any* output has been sent to the browser?
Code: Select all
setcookie("lightbox", "bret", time()+604800, "/")Thanks man. It works.
Now I have an other problem.
The cookie that has bean created is caled server_user@192.168.100.txt (local server)
How can I read the data?
Thanks man.
Now I have an other problem.
The cookie that has bean created is caled server_user@192.168.100.txt (local server)
How can I read the data?
Thanks man.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA