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-30 19:05:56
|
The api has two bugs: java_context()->call() invokeFunction(PhpProcedure)
should bring you back to where you came from. Doesn't work.
And the wrapper for java_context()->call(), the
"java_call_with_continuation()" doesn't work anymore since the last security
fix. :(
On May 30, 2010 8:33 PM, "Jost Boekemeier" <jos...@go...>
wrote:
Btw to avoid confusion: The engine key PhpProcedure is the environment that
has been passed to the java continuation via java_context()->call(ENV) --
continuations are modeled as procedures, that's why it's called
"PhpProcedure"
> > On May 30, 2010 8:18 PM, "Jost Boekemeier" <
jos...@go...> wrote: > > Hi, > > ...
> > public static void main(String s[]) throws Exception { > >
ScriptEngine e = new ScriptEngin...
System.out.println(((Invocable)e).invokeMethod(e.get("php.java.bridge.PhpProcedure"),
"f", new Obje...
> > On May 30, 2010 1:22 PM, <php...@li...>
wrote: > > > Trying to c...
|
|
From: <php...@li...> - 2010-05-30 18:33:44
|
Btw to avoid confusion: The engine key PhpProcedure is the environment that
has been passed to the java continuation via java_context()->call(ENV) --
continuations are modeled as procedures, that's why it's called
"PhpProcedure"
On May 30, 2010 8:18 PM, "Jost Boekemeier" <jos...@go...>
wrote:
Hi,
you are calling procedures from the servlet package outside of a servlet
environment. I am surprised that this works at all.
Outside of a servlet env use:
import java.io.Closeable;
import javax.script.Invocable;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
public class TestX {
public static void main(String s[]) throws Exception {
ScriptEngine e = new ScriptEngineManager().getEngineByName("php-invocable");
e.eval("<?php class X { public function f() {return 'hello';} }
java_context()->call(java_closure(new X())); ?>");
System.out.println(((Invocable)e).invokeMethod(e.get("php.java.bridge.PhpProcedure"),
"f", new Obje...
> > On May 30, 2010 1:22 PM, <php...@li...>
wrote: > > > Trying to c...
|
|
From: <php...@li...> - 2010-05-30 18:19:07
|
Hi,
you are calling procedures from the servlet package outside of a servlet
environment. I am surprised that this works at all.
Outside of a servlet env use:
import java.io.Closeable;
import javax.script.Invocable;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
public class TestX {
public static void main(String s[]) throws Exception {
ScriptEngine e = new ScriptEngineManager().getEngineByName("php-invocable");
e.eval("<?php class X { public function f() {return 'hello';} }
java_context()->call(java_closure(new X())); ?>");
System.out.println(((Invocable)e).invokeMethod(e.get("php.java.bridge.PhpProcedure"),
"f", new Object[]{}));
((Closeable)e).close();
}
}
On May 30, 2010 1:22 PM, <php...@li...>
wrote:
Trying to call a PHP script from a Java program.
My Java program (Test.java) is this:
ScriptEngine e = ( new ScriptEngineManager() ).getEngineByName(
"php-invocable" ); e.eval( EngineFactory.createPhpScriptReader(
"hello.php" ) ); System.out.println( ( ( Invocable)e ).invokeMethod(
e.get( "php.java.bridge.PhpProcedure" ), "f", new Object[]{} ) ); (
(Closeable)e ).close();
The file hello.php is this:
<?php require_once( "java/Java.inc" );
function f() { return java_server_name(); };
java_call_with_continuation( java_closure() );?>
when I run from a terminal: java -cp
.:./JavaBridge.jar:./php-script.jar:./php-servlet.jar:./java Test
I get this: java.lang.NoSuchMethodException: f
In my directory I have:
hello.phpjava/Client.incGlobalRef.incJavaBridge.incJava.incJavaProxy.incJavaProxy.phpNativeParser.incOptions.incParser.incPHPDebugger.incPHPDebugger.phpProtocol.incSimpleParser.incJavaBridge.jarphp-script.jarphp-servlet.jarTest.class
I'm running on Ubuntu 10.04 desktop (and also testing on 9.10 desktop). I
installed PHP5 (php5-cli and php5-cgi) via the Ubuntu repository and had to
modified /etc/php5/cgi/php.ini and changed "allow_url_include = On".
Any ideas?
Thanks,
Bernard.
_________________________________________________________________
New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au
http://clk.atdmt.com/NMN/go/206222968/direct/01/
------------------------------------------------------------------------------
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2010-05-30 11:22:29
|
Trying to call a PHP script from a Java program.
My Java program (Test.java) is this:
ScriptEngine e = ( new ScriptEngineManager() ).getEngineByName( "php-invocable" ); e.eval( EngineFactory.createPhpScriptReader( "hello.php" ) ); System.out.println( ( ( Invocable)e ).invokeMethod( e.get( "php.java.bridge.PhpProcedure" ), "f", new Object[]{} ) ); ( (Closeable)e ).close();
The file hello.php is this:
<?php require_once( "java/Java.inc" );
function f() { return java_server_name(); };
java_call_with_continuation( java_closure() );?>
when I run from a terminal: java -cp .:./JavaBridge.jar:./php-script.jar:./php-servlet.jar:./java Test
I get this: java.lang.NoSuchMethodException: f
In my directory I have:
hello.phpjava/Client.incGlobalRef.incJavaBridge.incJava.incJavaProxy.incJavaProxy.phpNativeParser.incOptions.incParser.incPHPDebugger.incPHPDebugger.phpProtocol.incSimpleParser.incJavaBridge.jarphp-script.jarphp-servlet.jarTest.class
I'm running on Ubuntu 10.04 desktop (and also testing on 9.10 desktop). I installed PHP5 (php5-cli and php5-cgi) via the Ubuntu repository and had to modified /etc/php5/cgi/php.ini and changed "allow_url_include = On".
Any ideas?
Thanks,
Bernard.
_________________________________________________________________
New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au
http://clk.atdmt.com/NMN/go/206222968/direct/01/
|