using JSP to call PHP script out put?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
adisonz
Forum Newbie
Posts: 11
Joined: Wed Feb 08, 2006 2:09 am

using JSP to call PHP script out put?

Post by adisonz »

I am using Apache 2.2.4 Tomcat 6, Tomcat Connector 1.2 , i already link apache and tomcat together already and both php and jsp works under http://localhost/

I want to ask is how to let them both work together to generate one page of out put ?
Lets say i have one php file for generating image verification for sign up purpose, and others i want to let JSP handle it,
and so i need the session store in PHP to store in my JSP page,

What is the best way to code by making JSP and PHP running together. ?

One more question, jsp files on tomcat/webapp, PHP in apache/htdocs, and both under localhost, but then how to make both working directory are the same ?
PuneetSeo
Forum Newbie
Posts: 1
Joined: Fri Apr 13, 2007 6:06 am

Post by PuneetSeo »

for running php & jsp u use jakarata tomcat.

In php code,we implement java/jsp script. plz refer http://php.net/
Post Reply