Re: Is javascript enable?

From: Date: Wed, 25 Aug 2004 18:11:05 +0000
Subject: Re: Is javascript enable?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-194702@lists.php.net to get a copy of this message
From: "Marcos Thiago M. Fabis" <fabismt@neobiz.com.br>
i want to retrieve this information (javascript enabled or not) from the browser in execution time. the get_browser function return me a value that simply means that the browser itself is capable of execute javascript and does not mean the user has enabled it in the browser.
So set a form/URL variable with JavaScript and see if your PHP page receives it. Hidden <iframe> would probably work, or image, etc... You'll need a page refresh or redirect in between though to detect it. ---John Holmes...

« previous php.general (#194702) next »