Re: Using PHP to determine if user has Java installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux