Ph code online creates no cookie

Hello!
Please, I am trying to create a cookie on online compiler codepad.
It says it is not created, meaning that the code Works but cookie is nto created, so I wonder why, and what theory do I miss to learn and understand to be aware why is it not created. As I am a beginner I need your help to know where to start from.

Many thanks!
here is the code:

http://codepad.org/1c0dXAma

Because a code fiddler will not create a cookie for you.

Hello, thanks for answer, that is what I suppose but what is the reason? Just because the ps-es are different? Are there online compilers that could create a cookie and where would it be placed? Many thanks!

Why would you? Your site should create the cookie, the online fiddler is to just test the code, not do your work.

Sponsor our Newsletter | Privacy Policy | Terms of Service