How to call a PHP class member function from a Java file?

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-04-28T05:58:06Z Indexed on 2010/04/28 6:03 UTC
Read the original article Hit count: 142

Filed under:
|

I am using PHP/Java bridge to run PHP scripts on the Tomcat server. Can someone point me to an example as to how to call my PHP scripts from a Java file.

<?php 

class X{

//variables

//functions   

 }

?>

Now I want to call the member functions of class X using its object via a Java file. How do I do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about java