|
From: <php...@li...> - 2011-03-23 10:43:42
|
Just copy the Java.inc file to your apache server and include it
locally. Works fine for me :D
El 23/03/2011 11:24, php...@li... escribió:
> 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
>
>
--
*Jaume López *
Área de Innovación
jau...@la... <mailto:jau...@la...>
http://www.lavinia.tc/logos/lavinia_logo.gif
www.laviniainteractiva.com <http://www.laviniainteractiva.com/>
www.vertice360.com <http://www.vertice360.com/>
T(34) 93 972 34 10 - ext 226
http://www.lavinia.tc/logos/vertice.jpg
|