I recently found out that php can be combined with java. What I learned is that it is possible to open a java class within php and use it to do something.
For example it looks something like this:
$someClass = new Java("someClass"
print $someClass->someClass($something);
I hve two questions:
-I would like to load an applet from php into a new web browser. So, not the same browser but to actually open a new browser and load it. What code would I use to get this? If anyone can send me a few suggetions or a link, that would be great.
-Also, this one is more important. Suppose the php page is loaded from some server and there is a java applet on my machine (client). If the server knew about where the applet is on my machine, can it open it from there. So, obviously, the php page can load an applet from it's own machine but can it load it on some other server or computer?
Thanks
Ivan
For example it looks something like this:
$someClass = new Java("someClass"
print $someClass->someClass($something);
I hve two questions:
-I would like to load an applet from php into a new web browser. So, not the same browser but to actually open a new browser and load it. What code would I use to get this? If anyone can send me a few suggetions or a link, that would be great.
-Also, this one is more important. Suppose the php page is loaded from some server and there is a java applet on my machine (client). If the server knew about where the applet is on my machine, can it open it from there. So, obviously, the php page can load an applet from it's own machine but can it load it on some other server or computer?
Thanks
Ivan