|
From: <php...@li...> - 2008-09-14 19:00:36
|
Hi, > Why not just [...] pass in the PHP script on standard input? because PHP needs a real file within the current working dir. Recent versions of PHP cannot include PHP files from urls anyway, unless you set the allow_url_include PHP option. However, you can subclass the php/java/script/PhpServletScriptEngine.java to do what you want. Please see: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/server/php/java/script/PhpServletScriptEngine.java?view=markup You need to customize the protected Object eval(Reader reader, ScriptContext context, String name) throws ScriptException; method. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |