RE: [PHP] Browser Javascript capabilities
| From: | Matt Babineau | Date: | Wed, 31 Jul 2002 16:26:34 +0000 |
| Subject: | RE: [PHP] Browser Javascript capabilities | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110533@lists.php.net to get a copy of this message | ||
You could use a dummy page, with
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=newpage.php?jscript=off">
<SCRIPT>
location.href='newpage.php?jscript=on';
</SCRIPT>
What this should do is redirect if javascript is enabled or disabled
giving you a URL variable to parse. I have not tested it but
theorectically could work.
Matt Babineau
MCWD / CCFD
-----------------------------------------
e: matt@criticalcode.com
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-----Original Message-----
From: Dennis Gearon [mailto:gearond@cvc.net]
Sent: Wednesday, July 31, 2002 12:12 PM
To: php-general@lists.php.net
Subject: [PHP] Browser Javascript capabilities
Is it possible from the browser requests to tell if it is jscript
enabled so that an appropriate page can be sent for en/disabled
browsers?
--
If You want to buy computer parts, see the reviews at:
http://www.cnet.com/ **OR EVEN BETTER COMPILATIONS**!!
http://sysopt.earthweb.com/userreviews/products/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php