Re: Using PHP to determine if user has Java installed

From: Date: Thu, 06 Sep 2007 05:24:26 +0000
Subject: Re: Using PHP to determine if user has Java installed
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-261764@lists.php.net to get a copy of this message
Thanks, http://www.php.net/manual/en/ref.java.php has the information I needed. The purpose of this script is on a website I will be managing we distribute software written in Java, so when they go to download the software I thought it would be a nice touch to alert them if they do not have JRE installed and provide a link to the Java site where they can download it. Thanks again all! -Matt On 9/5/07, David Powers <david@jpni.co.uk> wrote: > > tedd wrote: > > At 3:17 PM -0600 9/5/07, Matt Livingston wrote: > >> > >> I want to know if it is possible to use PHP to find out if a visitor > has > >> Java Runtime Environment installed on a computer. > > > > But you can attempt to run a js script from php to see if javascript is > > enabled. > > Java Runtime Environment == Java > JavaScript != Java > > There is a PECL extension for Java, allows you to get the version of > Java installed. I have never used it, but details are here: > > http://www.php.net/manual/en/ref.java.php > > -- > David Powers > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -Matt Livingston

« previous php.general (#261764) next »