Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP User Authentication Adding Authentication to Your Application Working with Cookies

"working with cookies" - There's no cookie to accept the logging. Please help me

As I log in the cookie code is supposed to redirect me to index.php which it does and show "Logged in" if I'm logged in, if not it will show "Not logged in" which it does when I log in. There's something wrong with my code, I have gone back and forth multiple times without finding the error.

and Is there a way for me just to copy her code if there's any problem with mine so that I could see the difference between her and my code.

snapshot: w.trhou.se/w7orynk08o