I think you are out of luck, depending on how complicated your function calls are (and their return values), you can either set up a basic commandline script which will read in variables and output the return value, the execute this using c/java

if it is more complicated than that, you will need to use RPC or SOAP to communicate.

Or... you could try to write a libPHP in C!

Mike

germán m. rivera wrote:
Hi all!

We have developed a groupware web server written in PHP. We were interested in integrating some communication interfaces in Java, using Tomcat, in this application, but we have not found an efficient way to call PHP functions from a Java program. We would prefer not to use communication protocols like HTTP or RPC to do these calls. ¿Can anyone tell me if he/she has faced this problem, please? ¿Is it even possible?

We can even use C/C++ instead of Java, but we still have the same problem. ¿Does anyone know if is there any way to call PHP functions from C, please?

Thanks in advance.
Germán

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to