Re: Enabling Java in a web browser using PHP script
| From: | Lars Torben Wilson | Date: | Tue, 14 May 2002 02:25:57 +0000 |
| Subject: | Re: Enabling Java in a web browser using PHP script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97467@lists.php.net to get a copy of this message | ||
On Mon, 2002-05-13 at 18:03, Michael P. Carel wrote:
> Hi to all,
>
> How could i automatically enable Java in a Web browser to execute java
> script using PHP. I have some javascripts line's in my PHP script and im
> worried that it will not work if the browser was not java enabled. Or is
> there any why to execute a java script line in PHP without enabling the
> browser java capability.
>
> Thanks in advance.
>
>
> Regards,
> Mike
Java != JavaScript, but that's beside the point.
Anyway, the answer is essentially 'No'. If you want your stuff to work
anywhere, don't use Java or JavaScript, or don't let users in if they
don't have it turned on. If I (as a surfer) turn off JavaScript or Java
in my browser settings, you can assume I want it off and will be very
unhappy if a script changes that behind my back.
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506