Re: [PHP] PHP with Java extension

2003-11-25 Thread Raditha Dissanayake
Hi, If i understand your project correctly all you need is for the php script to do some elementary processing and pass some parameters to a jsp or servlet. If so you do not need to delve too deeply into PHP at all and i am sure learning the few functions needed to achieve this is easier than

Re: [PHP] PHP with Java extension

2003-11-25 Thread Panos Konstantinidis
Hello > options some of which ray has suggested. Others > include soap or writing > out objects using the XMLEncoder class (1.4+) and > decoding them with a > parser in your php. this is also a possible solution but the java system that does the processing is already written and tested, th

Re: [PHP] PHP with Java extension

2003-11-24 Thread Raditha Dissanayake
Hi, Generally integrating java and php together is not easy. There are other options some of which ray has suggested. Others include soap or writing out objects using the XMLEncoder class (1.4+) and decoding them with a parser in your php. Panos Konstantinidis wrote: Hello, I am completely

Re: [PHP] PHP with Java extension

2003-11-24 Thread Ray Hunter
> Any ideas and recommendations are more than welcome. Try going the other waytry utilizing PHP in your servlet or j2ee server environment. I have had greater success with this then trying to get java integrated into PHP. HTH -- Ray -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] PHP with Java

2001-10-18 Thread Chris Bailey
Did you enable the java extension? In your php.ini file, you need to enable the extension, and then also enable/properly set all the stuff in the [Java] section. This will tell PHP where your JDK is, etc. -Original Message- From: Aku [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18

Re: [PHP] PHP with JAVA support

2001-06-27 Thread Andrzej Swedrzynski
On Tue, 19 Jun 2001, Robert Vetter wrote: > Hello, > > I'm trying to run PHP with Java support and don't get it to work. First > I compiled PHP '--with-java=/usr/local/jdk1.2.2/'. Then I added this to > the PHP.ini file: > > [Java] > java.home=/usr/local/jdk1.2.2 > >java.class.path=/usr/local/li

Re: [PHP] PHP with JAVA support

2001-06-21 Thread Jim Kirkpatrick
Robert, If I run your code on my installation, all I get is the phpInfo() output. If I comment out that line, it returns: Java version=1.4.0-beta Java vendor=Sun Microsystems Inc. OS=Linux 2.2.14-5.0 on i386 Thursday, June 21, 2001 at 9:59:05 AM GMT-08:00 ...as I would expect. It would appear

Re: [PHP] PHP with JAVA support

2001-06-21 Thread Robert Vetter
Jim Kirkpatrick wrote: > > Robert, > > Please include the php code you're using to instantiate the class. That will > give me a better idea of what to suggest. > Hi Jim, Thanks for the response. Here comes the code: getProperty("java.version")." \n"; print "Java vendor=".$system->getProp

Re: [PHP] PHP with JAVA support

2001-06-20 Thread Jim Kirkpatrick
Robert, Please include the php code you're using to instantiate the class. That will give me a better idea of what to suggest. I'm using PHP 4.05 & Java 1.3.1 on Redhat 6.2 with good results. -Jim Kirkpatrick "Robert Vetter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P