You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(1) |
2
(4) |
3
|
4
|
5
|
6
|
7
|
8
(1) |
9
|
10
(1) |
11
(1) |
12
(1) |
13
|
14
(1) |
15
|
16
|
17
(2) |
18
(9) |
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
(3) |
27
(2) |
28
(8) |
29
(3) |
30
(4) |
31
(5) |
|
|
|
|
|
From: <php...@li...> - 2010-05-18 22:11:36
|
-> http://www.php.net/manual/en/openssl.installation.php 19. Mai 2010 12:08 vorm. schrieb am < php...@li...>: I am sorry, but do you happen to have a link to the documentation you mentioned, I am having issues finding it. Thanks, ~Matt > Pardon? > > If you want to compile php with openssl, please use the --with-openssl > flag. > Plea... >>>> Jost Bökemeier > >> >> >> > > > > ------------------------------------------------------------------------------ >>... > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-05-18 22:08:08
|
I am sorry, but do you happen to have a link to the documentation you mentioned, I am having issues finding it. Thanks, ~Matt > Pardon? > > If you want to compile php with openssl, please use the --with-openssl > flag. > Please see the php documentation for details. > > 18. Mai 2010 11:48 nachm. schrieb am < > php...@li...>: > > How do you compile JavaBridge with ssl enabled? > >> Regarding the NoClassDefFound,which version of the JavaBridge.war do you >> > > use? > > You cannot pa... >>>> Jost B̮̦̉̉kemeier > >> >> >> > > > > ------------------------------------------------------------------------------ >>>> > _... > >> > ------------------------------------------------------------------------------ >> > _______________... > >> php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-jav... > php-java-bridge-users mailing list > > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-br... > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2010-05-18 21:53:50
|
Pardon? If you want to compile php with openssl, please use the --with-openssl flag. Please see the php documentation for details. 18. Mai 2010 11:48 nachm. schrieb am < php...@li...>: How do you compile JavaBridge with ssl enabled? > Regarding the NoClassDefFound,which version of the JavaBridge.war do you > use? > > You cannot pa... >>> Jost Bökemeier > >> >> > > > ------------------------------------------------------------------------------ >>> > _... > ------------------------------------------------------------------------------ > > _______________... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-jav... php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-br... |
From: <php...@li...> - 2010-05-18 21:48:08
|
How do you compile JavaBridge with ssl enabled? > Regarding the NoClassDefFound,which version of the JavaBridge.war do you > use? > > You cannot patch the demo php files to load openssl. They have been > compiled > with --disable-all > > You need to provide your own php installation. > > 18. Mai 2010 11:29 nachm. schrieb am < > php...@li...>: > > http://php-java-bridge.sourceforge.net/pjb/installation.php > > Following the instructions above I get an error "Exception in thread > "main" java.lang.NoClassDefFoundError: TestInstallation..." > > However I am running .php files in my Tomcat 6 server without an issue > using the JavaBridge.war > > I followed these instructions: > > http://php-java-bridge.sourceforge.net/pjb/tomcat6.php > > and everything works fine with the limitation on connecting to ssl. > > Any thoughts? > > ~Matt > >> Which "second" php installation do you mean? The demo files? > > The > install instructions state "... >>> Jost B̮̦kemeier > >> >> > > > ------------------------------------------------------------------------------ >>> > _______... > >> php...@li... > >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > ---------------------------... > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2010-05-18 21:45:12
|
Regarding the NoClassDefFound,which version of the JavaBridge.war do you use? You cannot patch the demo php files to load openssl. They have been compiled with --disable-all You need to provide your own php installation. 18. Mai 2010 11:29 nachm. schrieb am < php...@li...>: http://php-java-bridge.sourceforge.net/pjb/installation.php Following the instructions above I get an error "Exception in thread "main" java.lang.NoClassDefFoundError: TestInstallation..." However I am running .php files in my Tomcat 6 server without an issue using the JavaBridge.war I followed these instructions: http://php-java-bridge.sourceforge.net/pjb/tomcat6.php and everything works fine with the limitation on connecting to ssl. Any thoughts? ~Matt > Which "second" php installation do you mean? The demo files? > > The install instructions state "... >> Jost Bökemeier > >> > > ------------------------------------------------------------------------------ >> > _______... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ---------------------------... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-05-18 21:29:09
|
http://php-java-bridge.sourceforge.net/pjb/installation.php Following the instructions above I get an error "Exception in thread "main" java.lang.NoClassDefFoundError: TestInstallation..." However I am running .php files in my Tomcat 6 server without an issue using the JavaBridge.war I followed these instructions: http://php-java-bridge.sourceforge.net/pjb/tomcat6.php and everything works fine with the limitation on connecting to ssl. Any thoughts? ~Matt > Which "second" php installation do you mean? The demo files? > > The install instructions state "check your php installation using the > command java -classpath JavaBridge.war TestInstallation" before doing > anything else. Did that work? > > 18. Mai 2010 10:54 nachm. schrieb am < > php...@li...>: > > Jost, > > Thanks for the reply, > > I am not sure how a script that runs on a second installation of PHP is > going to work... when I write a script that works in PHP and then drop it > into my webapps folder, that script would work without making changes to > the PHP/JavaBridge application? Wouldn't the version of php still not be > able to connect to ssl? > > Basically I am looking to do: > > $query = "ssl://user:pass@server:8443/solr/select/?q=" . $_POST['find'] . > "&version=2.2&start=0&rows=10&indent=on"; > $display = file_get_contents($query); > > which works fine if I do it over http but I need to do it over ssl. > > just not sure how to get this to work... > > ~Matt > >> Hi Matt. > > you are poking in php files which will be overwritten the > next time > you restart ... >> Jost Bökemeier > >> > > ------------------------------------------------------------------------------ >> > _____________... > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2010-05-18 21:11:26
|
Which "second" php installation do you mean? The demo files? The install instructions state "check your php installation using the command java -classpath JavaBridge.war TestInstallation" before doing anything else. Did that work? 18. Mai 2010 10:54 nachm. schrieb am < php...@li...>: Jost, Thanks for the reply, I am not sure how a script that runs on a second installation of PHP is going to work... when I write a script that works in PHP and then drop it into my webapps folder, that script would work without making changes to the PHP/JavaBridge application? Wouldn't the version of php still not be able to connect to ssl? Basically I am looking to do: $query = "ssl://user:pass@server:8443/solr/select/?q=" . $_POST['find'] . "&version=2.2&start=0&rows=10&indent=on"; $display = file_get_contents($query); which works fine if I do it over http but I need to do it over ssl. just not sure how to get this to work... ~Matt > Hi Matt. > > you are poking in php files which will be overwritten the next time > you restart ... > Jost Bökemeier > > ------------------------------------------------------------------------------ > > _____________... |
From: <php...@li...> - 2010-05-18 20:54:09
|
Jost, Thanks for the reply, I am not sure how a script that runs on a second installation of PHP is going to work... when I write a script that works in PHP and then drop it into my webapps folder, that script would work without making changes to the PHP/JavaBridge application? Wouldn't the version of php still not be able to connect to ssl? Basically I am looking to do: $query = "ssl://user:pass@server:8443/solr/select/?q=" . $_POST['find'] . "&version=2.2&start=0&rows=10&indent=on"; $display = file_get_contents($query); which works fine if I do it over http but I need to do it over ssl. just not sure how to get this to work... ~Matt > Hi Matt. > > you are poking in php files which will be overwritten the next time > you restart tomcat. I think this is the wrong approach. > >> Has anyone been able to get OpenSSL support to work? > > Yes. > > Why don't you use a "php for windows zip" download and drag and drop > its contents to c:/Program Files/PHP/ (backslash missing on my tel. > keyboard), enable ssl support according to the php documentation and > test your script in a "command" shell, for example: > > c:/Program Files/PHP/php-cgi.exe script.php > > If that works, restart tomcat and move "script.php" to your web app. > It will work as well. > > If you want to ship your web app as a product at a later stage, with > openssl, php and everything embedded, you can think of a proper > layout. The default layout is described in our FAQ and in the latest > 6.x NEWS file. > > > Regards, > Jost Bökemeier > > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2010-05-18 07:21:22
|
Hi Matt. you are poking in php files which will be overwritten the next time you restart tomcat. I think this is the wrong approach. > Has anyone been able to get OpenSSL support to work? Yes. Why don't you use a "php for windows zip" download and drag and drop its contents to c:/Program Files/PHP/ (backslash missing on my tel. keyboard), enable ssl support according to the php documentation and test your script in a "command" shell, for example: c:/Program Files/PHP/php-cgi.exe script.php If that works, restart tomcat and move "script.php" to your web app. It will work as well. If you want to ship your web app as a product at a later stage, with openssl, php and everything embedded, you can think of a proper layout. The default layout is described in our FAQ and in the latest 6.x NEWS file. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-05-17 22:20:07
|
Hello, I am using Tomcat 6, Windows XP, and PHP/Java Bridge with SSL and for the most part all is well. The problem I seem to be having is enabling OpenSSL Support. I need to pull some data using a get_file() over an SSL communication line and all I get back is garbled text or nothing and I assume this is because I am doing get_file("ssl://user:pass@<website>:<port>/?query=ipod") without OpenSSL Support. I have tried adding: extension=php_openssl.dll to my php.ini and at first I got a warning that the file was mismatched (old version) so I downloaded a php_openssl.dll v5.3.1.0 and then I received the following error by running cgi\php-cgi-x86-windows.exe: --------- "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\apache\Tomcat\Webapps\JavaBridge\WEB-INF\cgi\php_openssl.dll' - This application has failed to start because the application cofiguration is incorrect. Reinstalling the application may fix this problem. in Unknown on line 0" ---------- On the webserver the connection will time out and display an error eventually followed by the OS throwing an error to close a running process. My php.ini is as followed: -------- ;; -*- mode: Scheme; tab-width:4 -*- ;; A simple php.ini extension_dir="C:\apache\Tomcat\webapps\JavaBridge\WEB-INF\cgi" include_path="C:\apache\Tomcat\webapps\JavaBridge\WEB-INF\pear;." extension=php_openssl.dll ----------- The php_openssl.dll is in the correct folder and I've tried moving libeay32.dll and ssleay32.dll to various locations but I always get the same error. Has anyone been able to get OpenSSL support to work? I would appreciate help from anyone, Thanks, ~Matt |
From: <php...@li...> - 2010-05-17 10:10:46
|
Hi Jaime, please follow the install instructions from: http://php-java-bridge.sourceforge.net/pjb/installation.php > I have tried with both Tomcat 5.5 and Tomcat 6 >From the above http://php-java-bridge.sourceforge.net/pjb/installation.php: "Install Apache Tomcat (http://tomcat.apache.org/) (or any other servlet engine) as a Windows or Unix service ..." If you follow the above instructions, it will work. Note the link to http://tomcat.apache.org. The "Tomcat" shipped with Ubuntu is broken. There's a workaround for Debian. But we don't support Linux distributions except RedHat Enterprise (or Fedora) Linux and Debian Linux Furthermore php-cgi must be in the PATH. If it's not, flag the ubuntu PHP package as "broken" as well. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-05-14 23:07:01
|
I am having issues with installing phpjavabridge on Ubuntu 9.04 64 bit. The Javabridge does not activate and the samples do not work. I have followed the instructions as provided here http://php-java-bridge.sourceforge.net/pjb/installation.php I have tried with both Tomcat 5.5 and Tomcat 6 as well as Java 1.6. Any help will be useful and much appreciated. Jaime |
From: <php...@li...> - 2010-05-12 08:55:47
|
Hi, > What is phpXts.dll and where can I get it from You can get PHP for X64 systems from: http://windows.php.net/download/#php-5.3-ts-VC9-x64 I don't know why the windows version needs a "php5ts.dll" (or "php5.dll" for the non-ts version), nor do I know anything about the differences. I don't know what "VC6" or "VC9" is, either. Please see the php documentation for more information. > Is there a step by step guide how to use PHP-JavaBridge on 64Bit Windows Server Systems? Yes. Please see: http://php-java-bridge.sourceforge.net/pjb/installation.php The install guide doesn't show how to install PHP, as it is assumed that you have already installed PHP. Please see the documentation on http://php.net for details. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-05-11 16:18:56
|
Hello, I have installed PHP-Java-Bridge on a 32 Bit System: Tomcat Version: Apache Tomcat/6.0.26 JVM Version: 1.6.0_13-b03 JVM Vendor: Sun Microsystems Inc. OS Name: Windows XP OS Version: 5.1 OS Architecture: x86 I deployed JavaBridge.war, Examples work fine. I then have installed PHP-Java-Bridge on a 64 Bit System: Tomcat Version: Apache Tomcat/6.0.26 JVM Version: 1.6.0_20-b02 (64Bit) JVM Vendor: Sun Microsystems Inc. OS Name: Windows 2003 OS Version: 5.2 OS Architecture: amd64 Deployment of JavaBridge.war without any visible problems. Tomcat localhost.log: >07.05.2010 11:12:31 org.apache.catalina.core.ApplicationContext log >INFO: PhpJavaServlet: PHP/Java Bridge servlet D:\Tomcat 6.0\webapps\JavaBridge version 6.1.2.1 ready. When I try to start http://localhost:8080/JavaBridge/ I get ... nothing (waiting for timeout?) Once I got the Message (I can't reproduce): No suitable php fastcgi sapi found. Install PHP as either "/usr/bin/php-cgi" or "c:/Program Files/PHP/php-cgi.exe" or "D:\Tomcat 6.0\webapps\JavaBridge\WEB-INF\cgi\php-cgi-amd64-windows.exe". See also "php_exec" in your WEB-INF/web.xml. I went to U:\Tomcat 6.0\webapps\JavaBridge\WEB-INF\cgi\amd64-windows And found the advice: you can rename your php fastcgi binary to "php-cgi-amd64-windows.exe", add it and its phpXts.dll (!) to your web application WEB-INF/cgi directory and re-deploy your web application. Here I got stuck: What is phpXts.dll and where can I get it from? - do I really need it? In the long run: Is there a step by step guide how to use PHP-JavaBridge on 64Bit Windows Server Systems? Help is very much appreciated Dirk |
From: <php...@li...> - 2010-05-10 10:04:01
|
Hi, the PHP/Java Bridge implementation requires a running Java VM. This may be either a Java JRE or a Java SDK from Sun/Oracle or any other Java 1.4 compliant implementation, including MS .NET or GNU "Java". Regards, Jost Bökemeier |
From: <php...@li...> - 2010-05-08 10:54:44
|
Hi, I'm currently testing PJB to use jasperreports in our php applications, but I would like to know if PJB requires a JDK or it's fine with a JRE, because the faq only says "Java >= 1.4. Java >= 6 recommended." Thanks! |
From: <php...@li...> - 2010-05-02 13:16:28
|
Thanks so much! I'll try this out and let you know how it goes. > Date: Sun, 2 May 2010 13:14:39 +0200 > To: php...@li... > From: php...@li... > Subject: Re: [Php-java-bridge-users] Access to a Drupal site > > > http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html > > Link was incorrect. Correct link: > > http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/php/java/script/servlet/EngineFactory.html > > On 5/2/10, Jost Boekemeier <jos...@go...> wrote: > >> auto_prepend_file=JavaProxy.php > > > > auto_append_file=JavaProxy.php > > > > > > > > On 5/2/10, Jost Boekemeier <jos...@go...> wrote: > >> Hi, > >> > >> isn't it possible to use the JSR 223 API to call your (external or > >> internal) PHP script methods? > >> > >> > >> Any PHP script which contains the call > >> > >> java_call_with_continuation() > >> > >> automatically implements the javax.script.Invocable interface. Example: > >> > >> > >> <?php //script.php > >> require_once("Java.inc"); > >> ... > >> java_call_with_continuation(); > >> // reached after ((Closable)e).close() has been called > >> ?> > >> > >> main(String s[]) throws Throwable { > >> ScriptEngine e = new > >> ScriptEngineManager().getEngineByName("php-invocable"); > >> e.eval(new URLReader("http://localhost/drupal/script.php"); > >> Invocable i = (Invocable)e; > >> System.out.println(i.invokeFunction("phpversion", new Object[]{})); > >> ((Closeable)e).close(); > >> } > >> > >> > >> You can append java_call_with_continuation() to a specific script or > >> to all scripts using the php.ini directive: > >> > >> auto_prepend_file=JavaProxy.php > >> > >> > >> For internal scripts you can also use the RequestDispatcher to include > >> the PHP resource. > >> > >> Please see > >> > >> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html > >> > >> and > >> > >> http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation > >> > >> for details. > >> > >> > >> Regards, > >> Jost Bökemeier > >> > > > > ------------------------------------------------------------------------------ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users _________________________________________________________________ If It Exists, You'll Find it on SEEK. Australia's #1 job site http://clk.atdmt.com/NMN/go/157639755/direct/01/ |
From: <php...@li...> - 2010-05-02 11:14:46
|
> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html Link was incorrect. Correct link: http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/php/java/script/servlet/EngineFactory.html On 5/2/10, Jost Boekemeier <jos...@go...> wrote: >> auto_prepend_file=JavaProxy.php > > auto_append_file=JavaProxy.php > > > > On 5/2/10, Jost Boekemeier <jos...@go...> wrote: >> Hi, >> >> isn't it possible to use the JSR 223 API to call your (external or >> internal) PHP script methods? >> >> >> Any PHP script which contains the call >> >> java_call_with_continuation() >> >> automatically implements the javax.script.Invocable interface. Example: >> >> >> <?php //script.php >> require_once("Java.inc"); >> ... >> java_call_with_continuation(); >> // reached after ((Closable)e).close() has been called >> ?> >> >> main(String s[]) throws Throwable { >> ScriptEngine e = new >> ScriptEngineManager().getEngineByName("php-invocable"); >> e.eval(new URLReader("http://localhost/drupal/script.php"); >> Invocable i = (Invocable)e; >> System.out.println(i.invokeFunction("phpversion", new Object[]{})); >> ((Closeable)e).close(); >> } >> >> >> You can append java_call_with_continuation() to a specific script or >> to all scripts using the php.ini directive: >> >> auto_prepend_file=JavaProxy.php >> >> >> For internal scripts you can also use the RequestDispatcher to include >> the PHP resource. >> >> Please see >> >> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html >> >> and >> >> http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation >> >> for details. >> >> >> Regards, >> Jost Bökemeier >> > |
From: <php...@li...> - 2010-05-02 11:11:17
|
> auto_prepend_file=JavaProxy.php auto_append_file=JavaProxy.php On 5/2/10, Jost Boekemeier <jos...@go...> wrote: > Hi, > > isn't it possible to use the JSR 223 API to call your (external or > internal) PHP script methods? > > > Any PHP script which contains the call > > java_call_with_continuation() > > automatically implements the javax.script.Invocable interface. Example: > > > <?php //script.php > require_once("Java.inc"); > ... > java_call_with_continuation(); > // reached after ((Closable)e).close() has been called > ?> > > main(String s[]) throws Throwable { > ScriptEngine e = new > ScriptEngineManager().getEngineByName("php-invocable"); > e.eval(new URLReader("http://localhost/drupal/script.php"); > Invocable i = (Invocable)e; > System.out.println(i.invokeFunction("phpversion", new Object[]{})); > ((Closeable)e).close(); > } > > > You can append java_call_with_continuation() to a specific script or > to all scripts using the php.ini directive: > > auto_prepend_file=JavaProxy.php > > > For internal scripts you can also use the RequestDispatcher to include > the PHP resource. > > Please see > > http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html > > and > > http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation > > for details. > > > Regards, > Jost Bökemeier > |
From: <php...@li...> - 2010-05-02 11:08:01
|
Hi, isn't it possible to use the JSR 223 API to call your (external or internal) PHP script methods? Any PHP script which contains the call java_call_with_continuation() automatically implements the javax.script.Invocable interface. Example: <?php //script.php require_once("Java.inc"); ... java_call_with_continuation(); // reached after ((Closable)e).close() has been called ?> main(String s[]) throws Throwable { ScriptEngine e = new ScriptEngineManager().getEngineByName("php-invocable"); e.eval(new URLReader("http://localhost/drupal/script.php"); Invocable i = (Invocable)e; System.out.println(i.invokeFunction("phpversion", new Object[]{})); ((Closeable)e).close(); } You can append java_call_with_continuation() to a specific script or to all scripts using the php.ini directive: auto_prepend_file=JavaProxy.php For internal scripts you can also use the RequestDispatcher to include the PHP resource. Please see http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html and http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation for details. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-05-01 11:28:35
|
Hi, Is it possible using the php-java-bridge to access a Drupal site running on the SAME box as a Java servlet? That is, I have written several Java servlets and will need to access the Drupal backend/database to read/write user information. Thanks, Bernmeister. _________________________________________________________________ New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au http://clk.atdmt.com/NMN/go/206222968/direct/01/ |