Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i read a cookievalue?

Status
Not open for further replies.

Bjelleklang

Programmer
Sep 2, 2003
8
NO
How do I get the value from a cookie set with setcookie?
I know the cookie exists, but when using echo $_COOKIE['user@systematicus'] nothing comes out.

What do I do wrong?
 
try print_r($_COOKIE) to determine whether you have got the right key etc. if nothing is output then the cookied may not be being set properly
 
The cookie is set, and is printed with print_r, and is also listed in the webbrowser.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top