jeffbruce Posted July 31, 2008 Share Posted July 31, 2008 Hey everybody, I've developed a Java applet which (during its execution on the client side) tries to access files on a web server. This web server runs Apache, so I've been told that by using PHP the client can send file requests to Apache on this web server, and Apache will try to fulfill the client's request. How do I use PHP to carry out this process? Here's what I'm thinking: The client visits a website (call it http://www.awebsite.com/joe_nameth.php), this runs some PHP code to launch the Java applet on the client side. But, during the applet's execution, the client makes file requests. Do I embed some PHP code in the Java code in order to deal with the accessing of files from a web server? I'm completely new to this endeavor. Quote Link to comment https://forums.phpfreaks.com/topic/117575-java-applet-with-php-and-apache/ Share on other sites More sharing options...
siliconsmiley Posted August 7, 2008 Share Posted August 7, 2008 I'm traditionally a Java developer and pretty new to PHP so please forgive me if this reply is incorrect. I would think that you would want to do it the other way around. You would have some PHP scripts that make calls to Java objects. I have used the PHP Java Bridge to do this and it works pretty well. Check out the PHP Java Bridge at: http://php-java-bridge.sourceforge.net/doc/ Quote Link to comment https://forums.phpfreaks.com/topic/117575-java-applet-with-php-and-apache/#findComment-611068 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.