Hello !
I am quite fresh into PHP4.
I need for my application to accept from an HTML form or a PHP form some input which shall be needed by a few Java classes to perform some calculations & return values to the HTML page.
For this i have installed PHP4 with IBM Java 1.18 JDK & compiled it too. I have mod_php support as weel. But now the Java coded cannot be embedded in the PHP file. PHP has support of Java only using CGI.
Question 1: How does PHP call a CGI script ?
Question 2: How does CGI call the Java classes to execute the code ?
Its would be very nice if someone could answer back using a small tiny example.
Best Regards,
Ravi