Re: Using PHP to determine if user has Java installed
| From: | Paul Scott | Date: | Thu, 06 Sep 2007 04:18:02 +0000 |
| Subject: | Re: Using PHP to determine if user has Java installed | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261763@lists.php.net to get a copy of this message | ||
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";
}