Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Matt Livingston
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 i

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Paul Scott
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!');

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread tedd
At 11:18 PM +0100 9/5/07, David Powers 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 java

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Satyam
I would think that if you put an in the page with some public property or method which you could then query from JavaScript if it succeeds it means you do have Java, not only installed but available and enabled to the browser, then you could either send a AJAX message to the server or navigate

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread David Powers
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 =

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread tedd
At 3:17 PM -0600 9/5/07, Matt Livingston wrote: Hey List, 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. Is there a way to use PHP to find this similiar to how PHP can be used to find out browser info? Thanks in advance

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Jim Lucas
Matt Livingston wrote: Hey List, 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. Is there a way to use PHP to find this similiar to how PHP can be used to find out browser info? Thanks in advance for your help. No, unl