hi, i want to use cookies in my php program, the folder tree goes like this:
members.lycos.co.uk/barrenlands/login/account
the cookie will be made with
setcookie($barrenlands_cookie_string,"$string"
;
in the /login dir
it will be then read and re set by pages in the /account dir using code:
setcookie($barrenlands_cookie_string,""
;
setcookie($barrenlands_cookie_string,"$newstring"
;
but when i have done this, the files in the /login dir cant read it.
Any help on how to let the /login page read it , or y it cant.
p.s. the cookie must be able to be read by the /account after the login has reread it, and this could be repeated several times
thanx in advance
SOLEX
members.lycos.co.uk/barrenlands/login/account
the cookie will be made with
setcookie($barrenlands_cookie_string,"$string"

in the /login dir
it will be then read and re set by pages in the /account dir using code:
setcookie($barrenlands_cookie_string,""

setcookie($barrenlands_cookie_string,"$newstring"

but when i have done this, the files in the /login dir cant read it.
Any help on how to let the /login page read it , or y it cant.
p.s. the cookie must be able to be read by the /account after the login has reread it, and this could be repeated several times
thanx in advance
SOLEX