Help! Why doesn't PHP retrieve the cookies that I set from a script written in c? I use c, perl and php elements on my site. All can be used to set cookies, but php only seems to be able to read the cookies that it set itself.
I can't understand how this could be, since the environmental variables are sent by the client machine. When I use c or perl to check the environmental variable HTTP_COOKIE, the client machine definitely sends all cookies that were set -- regardless of which language set that cookie (as you would expect). But when I use php to display that same environmental variable, it does not include cookies that were set by my c application. What happened to that cookie?
Thanks for your help,
-Peter