October 18th, 2002, 05:05 PM
-
Determining if the client has javascript enabled and pushing this info to PHP?
Is it posible to determine if the client has javascript enabled and relaying this information to PHP without using a separate file/loading operation?
All power to the vikings!
October 18th, 2002, 05:37 PM
-
I guess you could have a javascript statement that submits a little form (just a single field) when the page loads
<body onload=submitform()... etc >
and collect the submission with your php script..
I guess you would need to use cookies/sessions to match submissions with user sessions etc
christo
This is me: http://chris.uk.com
October 18th, 2002, 06:42 PM
-
Hi,
Beside from the <SCRIPT> and <NOSCRIPT> tags which will let you do different things in your code, you could try
http://phpsniff.sourceforge.net/
They have a comprehensive browser detection software completely free including the source code (PHP) so that you can change it for your needs.
If anyone knows of any similar code out there could you let us know?
Bye ...
:-)