|
-
January 3rd, 2003, 11:06 AM
#1
Cookies
I want to write the cookie-status of a browser into the variable $cookies using PHP and Javascript.
My solution is the following command, but it doesn't work :-((
echo "Cookie status:<script type='text/javascript'>if(navigator.cookieEnabled == 'true') {$cookies='allowed';}</script>".$cookies;
Does someone have an idea how to solve that problem? (the status must be in $cookies because I want to use it somewhere else in the code!)

[Goodz13:Moved from Java Fourm]
Last edited by Goodz13; January 3rd, 2003 at 01:58 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|