i know i can doto set a cookie to last one year, but how would i read from that cookie and use it's info in a web page?PHP Code:setcookie("name", "value", time() + 15768000, "", "www.yourdomain.com");
And would that info be usable over many different pages?




). in your example, that cookie would be available on any page at www.yourdomain.com. if you set the path to '/folder/', then it's only available from /folder/ and its subdirectories.




Bookmarks