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

[PHP] PHP with Java extension

2003-11-23 Thread Panos Konstantinidis
Hello, I am completely new to PHP and due to some disparate components in our system I am trying to integrate PHP with Java. I have followed the instructions in the README file (under the ext/java folder in the PHP bundle) but I have hit a snag two days now. I have done several changes in my p

[PHP] PHP --with-java problem

2002-04-12 Thread Dmitri Zakharov
I am trying to configue PHP with Java support. with PHP-4.1.2, JDK1.3.1_01 The installation goes smoothly. My php.ini file contains the follwing section for Java [Java] java.class.path = /usr/local/src/php-4.1.2/ext/java/php_java.jar java.home = /usr/local/jdk1.3.1_01 java.library = /usr/loca

RE: [PHP] PHP with Java

2001-10-18 Thread Chris Bailey
18, 2001 6:15 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP with Java Hi, I learn PHP with Java and I try PHP script from help, like below; getProperty("java.version")." \n"; print "Java vendor=".$system->getProperty("java.vendor")." \

[PHP] PHP with Java

2001-10-18 Thread Aku
Hi, I learn PHP with Java and I try PHP script from help, like below; getProperty("java.version")." \n"; print "Java vendor=".$system->getProperty("java.vendor")." \n\n"; print "OS=".$system->getProperty("os.name")." ". $system->getProperty("os.version")." on ". $syst

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

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
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/lib/php/extensions/php_java.jar:/usr/local/jdk1.2.2/src.jar jav

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
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/lib/php/extensions/php_java.jar:/usr/local/jdk1.2.2/src.jar jav

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
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/lib/php/extensions/php_java.jar:/usr/local/jdk1.2.2/src.jar jav