Re: Can PHP detect if JavaScript is on?
| From: | Martin Neimeier | Date: | Sun, 10 Sep 2000 13:23:38 +0000 |
| Subject: | Re: Can PHP detect if JavaScript is on? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16052@lists.php.net to get a copy of this message | ||
akio wrote:
>
> Hello there!
>
> Can PHP know if the browser has JavaScript enabled?
> I would like to send different portions of HTML and JavaScript in case it's
> turned on....
>
> Is this possible?
>
> TIA
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Hello,
look for the function get_browser(). It returns an object which helds the capabilieties of the
browser.
cu
Martin
--
Martin Neimeier
Ingenieur-Buero Neimeier
Schwarzach / Germany
mailto:nei@ibn.de / http://www.ibn.de (under heavy reconstruction)
Tel:+49(6262)912344 / Fax:+49(6262)912347