YoussefGamil Posted September 11, 2005 Share Posted September 11, 2005 I have used "setcookie()" and "$_COOKIE();"..But, It doesn't work except in the same page where the cookie was made.So,How to make a cookie and how to read it by another page?PLZ help Link to comment Share on other sites More sharing options...
egrath Posted September 15, 2005 Share Posted September 15, 2005 Hi,is the page which tries to access the cookie on the same domain as the one who sat up the cookie?Egon Link to comment Share on other sites More sharing options...
YoussefGamil Posted September 16, 2005 Author Share Posted September 16, 2005 Yes,..It's on the same domainThe Problem is soulved now!!!by using "$HTTP_SERVER_VARS['cookie'];" insead of "$_COOKIE['cookie'];".But, why "$_COOKIE['cookie']" didn't work?!! Nevermind Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now