Re: Using PHP to determine if user has Java installed

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

 



On Wed, 2007-09-05 at 20:41 -0400, tedd wrote:
> >Java Runtime Environment == Java
> >JavaScript != Java
> >

How about something like:

if ( navigator.javaEnabled() ) {
    alert('JRE is installed!');
    window.location="page_with_a_JAVA_applet";
}
else {
    alert('JRE is not installed!');
    window.location="error_page";
}


All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[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