Using PHP cookies
Posted: Sat Jan 10, 2009 4:43 am
Hi all,
I have some issue using cookies in PHP. As it seems very easy to use cookies with php
I am using setcookie(name, value, expire, path, domain); function to set cookie and retrieve its value using $_COOKIE superglobal variable
I want to set cookie in my sub folder like panel and access it in root folder. As we can set the cookie in sub folder using the path. But how can we access cookie from root which is set to a sub folder.
Means to access cookie of some sub folder at root of website.
br
cksonline
I have some issue using cookies in PHP. As it seems very easy to use cookies with php
I am using setcookie(name, value, expire, path, domain); function to set cookie and retrieve its value using $_COOKIE superglobal variable
I want to set cookie in my sub folder like panel and access it in root folder. As we can set the cookie in sub folder using the path. But how can we access cookie from root which is set to a sub folder.
Means to access cookie of some sub folder at root of website.
br
cksonline