From: <php...@li...> - 2010-02-06 09:44:58
|
In PHP/Java Bridge version 5.5.5 you can use the PHP function "virtual()" to include a local resource. I have added the following to our FAQ: How do I include a local (*.asp, *.jsp, ...) resource? Use the virtual() function. If PHP is running within a JEE server or servlet engine, the virtual() function is an alias for java_context()->getHttpServletRequest()->getRequestDispatcher()->include() Warning: Do not open a "loop back" url connection (e.g. via fopen("http://localhost.../foo.asp")) to include the local resource. This might exceed the HTTP server's pool size and create a deadlock!. Regards, Jost Bökemeier |