From: <php...@li...> - 2011-03-23 10:24:57
|
Hello, i want to use the JavaBridge to extend a php web-application which is running on a normal Apache server. Therefore i deployed the JavaBridge.war file on a tomcat and importet "Java.inc" in my php skript on the Apache. Works really well in my test enviroment. But for security reasons i am not allowed to change the server configurations extensive on the server my application should finally run at. So i am not allowed to set "allow_url_include= ON" in the "php.ini". So my question is: Is there a way to use the JavaBridge in this setup without allowing url imports for everyone and everything? And if not maybe someone got another solution for me? Here are my System Specifications: OS: windows XP Server: xampp - 1.7.4 (the apache and tomcat are integrated) PHP: php 5.3.5 JavaBridge: php-java-bridge_6.2.1_documentation.zip My short Testcode running on the Apache: <?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); echo java("java.lang.System") -> getProperties(); ?> I am very thankful for every help! Greetings Frerik -- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone |