Problem with calling php script from java file
I am working on windows and using tomcat 6. I have installed wamp server and I am using the PHP/Java bridge.
I have created a PHP script and now I want to call its functions from a java file. Can someone prvide me an example how to do this?
I got an online example at http://php-java-bridge.sourceforge.n...hpThreads.java
but I keep getting this error when I run it -
Code:
Exception in thread "main" java.lang.NullPointerException: php script engine not found at PhpThreads.main(NewClass.java:48)