PHP Cookie Problems?
Moderator: General Moderators
PHP Cookie Problems?
I've got cookie problems, i've read several articles and still can't get it right. The cookie is only temporary and I want it to stay as long as possible. but i visit one website there is many articles on the issue of cookie problems. it is very simple & short. the visitor can easily get it. if you want to visit this site then mail me script001@rediffmail.com
So set the cookie to persist for a long period of time....
Code: Select all
setcookie('name', 'value', time()+60*60*24*365); //1 yearSet Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.