PDA

View Full Version : PHP Call from Java Using Quercus


nirajsalot
03-16-2011, 05:53 AM
down vote
favorite Hi,

I have a sample PHP class which I would like to Utilize in my Java Application.

We have decided to use Quercus as a Libary for doing the Integration.

Can some one let me know How can I call a PHP class from Java Code using Quercus.

For Example.

PHP class name is calculator.php and it has one method say sum() which expects 2 numbers to be passed and It will do the summation of those number.

Please let me know the sample code which can be coded to achive the same.

Thanks,