Im using ie and mozila firefox and neither one downloads the cookie to c:\windows\cookies as stated in the manual.
IE downloads it to C:\Documents and Settings\ChristopherW.MOBS\Local Settings\Temporary Internet Files\
Not sure where Firefox downloads it to!
I tested my script - and on refresh, the page didn't pick up the cookie and show the delete cookie link. I then read one of the 2007 forums and one guy said that we had to query the $_COOKIE autoglobal because the $background variable is not automatically defined.
So I included the code below (which he gave) just above the if statement on cookie.php and woweeee the code worked. But to be honest I am confused as to what this line of code actually says in english! I know the first part checks to see if the variable has been set but I am lost from the question mark onwards..and what is the semi-colon for?
Thanks Mac, trying to do this the php 4 way exactly as it is in the manual but can't get it to work. The colour changes but when I go back and reresh I dont get the delete cookie link. It will only work when I put this code in, which is PHP5.