Re: Is javascript enable?

From: Date: Wed, 25 Aug 2004 18:17:34 +0000
Subject: Re: Is javascript enable?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-194707@lists.php.net to get a copy of this message
hi John; i saw that solution in one of the google results, but this way i´ll be still using javascript and i´ll need one user action. i realy wanted only a header exchange or something like. [s] Mt ----- Original Message ----- From: "John Holmes" <holmes072000@charter.net> To: "Marcos Thiago M. Fabis" <fabismt@neobiz.com.br>; <php-general@lists.php.net> Sent: Wednesday, August 25, 2004 3:11 PM Subject: Re: [PHP] Is javascript enable? > 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 (#194707) next »