Re: [PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread ceo
In general, if you are trying to get DB connections to work in a hybrid situation, and no native driver is behaving, try ODBC. It's crude, slow, and not pretty, but it should work. You can set it up so that you can go back later and dink around with drivers and re-compiling, but at least

Re: [PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread jpmad4it
Thanks. However, I'm using this process as a test. In the proper application we will be using a JDBC or JDNI connection initiated by PHP to connect to our IDMS database. Its complicated but it means we have to use the PHP-Java Bridge, Java and JDBC. so we can't use ODBC. I'm using this as a

Re: [PHP] php java intregration

2006-06-03 Thread Rabin Vincent
On 6/2/06, Vedanta Barooah [EMAIL PROTECTED] wrote: i am setting up php_java.dll extension under windows/iis, my php version is 5.1.2. can any one point me to the download location of php_java.jar which is needed for the setup. Download Collection of PECL modules for PHP from the Windows

Re: [PHP] php java intregration

2006-06-03 Thread Vedanta Barooah
the pecl snapshots have the dll php_java.dll, but does not have the jar php_java.jar which is also required? - vedanta On 6/3/06, Rabin Vincent [EMAIL PROTECTED] wrote: On 6/2/06, Vedanta Barooah [EMAIL PROTECTED] wrote: i am setting up php_java.dll extension under windows/iis, my php version

Re: [PHP] php java intregration

2006-06-03 Thread Rabin Vincent
On 6/4/06, Vedanta Barooah [EMAIL PROTECTED] wrote: the pecl snapshots have the dll php_java.dll, but does not have the jar php_java.jar which is also required? I don't know about the snapshots, but the PECL zip on the download page does have the jar you are looking for. Rabin -- PHP General

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread raditha dissanayake
Alawi albaity wrote: Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap What exactly are you

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
I just edit php.ini and increase it to 200 its not work any suggestion does apache effect ? cuz its Usage memory limitid to 98M - Original Message - From: Alawi albaity [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 8:55 PM Subject: Re: [PHP] PHP JAVA Error

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
/test/test.php); ? Please give me a hand - Original Message - From: Alawi albaity [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 10:04 PM Subject: Re: [PHP] PHP JAVA Error on linux I just edit php.ini and increase it to 200 its not work any suggestion

Re: [PHP] PHP Java extension--hopeless?

2003-11-27 Thread Ray Hunter
On Wed, 2003-11-26 at 20:17, Raditha Dissanayake wrote: Right, I agree this is a very bassakwards way of going about it.. In this instance, performance is not really an issue as much as politics.. but this comment is useful as we may be able to persuade them into providing information about

Re: [PHP] PHP Java extension--hopeless?

2003-11-26 Thread Rasmus Lerdorf
On Wed, 26 Nov 2003, Kelly Hallman wrote: I am trying to find help or information on running the Java extension with PHP under Apache on Redhat Linux using a Sun JVM. I am aware that the PHP documentation says that the Java extension is experimental. I am also aware that people say the ISAPI

Re: [PHP] PHP Java extension--hopeless?

2003-11-26 Thread Kelly Hallman
On Wed, 26 Nov 2003, Rasmus Lerdorf wrote: On Wed, 26 Nov 2003, Kelly Hallman wrote: I am aware that the PHP documentation says that the Java extension is experimental. I am also aware that people say the ISAPI version does not work well and that running PHP as a CGI should give better

Re: [PHP] PHP Java extension--hopeless?

2003-11-26 Thread Raditha Dissanayake
Right, I agree this is a very bassakwards way of going about it.. In this instance, performance is not really an issue as much as politics.. but this comment is useful as we may be able to persuade them into providing information about the algorithm in use, to develop something more usable. We

Re: [PHP] php-java formatting

2002-12-23 Thread 1LT John W. Holmes
I am using a javascript alert box in one of my php pages to tell the user they didn't fill out all the required fields. As I check each field, if it is blank I am adding to the alert string: $alertstring=Missing Mandatory Fields; if ($fname==''){ $alertstring=$alertstring.First

Re: [PHP] php-java formatting

2002-12-23 Thread Krzysztof Dziekiewicz
This all works fine except I want each empty field of the alert box to be on it's own line. I try adding \n to the lines of the alert string but it prints out the \n. How can I format this string so that it shows correctly in the alert box? Just you use '\n' but you have to do something

Re: [PHP] php, java and ssl

2002-10-14 Thread Maxim Maletsky
You might want to submit it as a bug report in bugs.php.net. PLeasee add to it the more detailed instructions. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // where PHP Begins On Mon, 14 Oct 2002 11:11:23 +0300 A3-Mail Proxy Handler [EMAIL PROTECTED] wrote: Hi, I have a

Re: [PHP] PHP, JAva history

2002-07-14 Thread Peter J. Schoenster
On 14 Jul 2002 at 13:42, Saci wrote: I would like to see from where visitor come from mypage i need a function who return the last visited page prior to mine. I didn't found any function on php for that purpose and I'm thinking in mix Java and php for that purpose, using the browser

RE: [PHP] PHP/Java/SOAP

2002-02-21 Thread James Hallam
We use iPlanet here, and it has Servlet support built in. (nice config menus, too). PHP works fine too, it just takes a little brain power to install it correctly.. Anyway, we do have a little servlet guarding a secure directory, and it uses the PHP engine to grab the templates, same as every

Re: [PHP] PHP/Java/SOAP

2002-02-21 Thread Matt Drake
Is there a webserver (Tomcat?) that supports both servlets/JSP and PHP? If so, is it possible to have PHP and servlet/JSP code collaborating? I'm looking into using SOAP (apache project's implementation) but I need some of PHP's functionality. You can use Tomcat and Apache together. There's

Re: [PHP] php java script

2001-09-14 Thread Sheridan Saint-Michel
JavaScript has no idea what PHP does... it doesn't even know PHP exists. So your PHP script has to output your JavaScript in its entirety. You need to have a line that not only defines message as an array, but populates it. I would put a for loop after your reset($messages) line that echo's

Re: [PHP] PHP Java ?

2001-05-04 Thread Michael Stearne
They are totally un-related. Make sure that the final HTML on the page (some of it generated by PHP) is corrent and doesn't break the Java/Javascript. Michael Jack Sasportas wrote: While working on some web sites which contain mouse over java, and then adding in some db stuff via

Re: [PHP] PHP Java ?

2001-05-04 Thread Peter Dudley
If it's javascript, then be careful about echoing PHP variables into Javascript strings. If you have something like (in Javascript) var myString = '?php echo $phpString; ?'; and $phpString contains any apostrophes, then the javascript will break because Javascript thinks the string has ended

Re: [PHP] PHP Java ?

2001-05-04 Thread Jack Sasportas
I am echoing the javascript and other html, and at this point *not* putting values into the javascript. I take a string like so: $string= JavaCode HTMLStuff ; I make sure that *everything* in the quotes has only sinlge quotes no double quotes so that PHP doesn't think its the end of the

RE: [PHP] PHP Java ?

2001-05-04 Thread Brian Paulson
AM To: php Subject: Re: [PHP] PHP Java ? I am echoing the javascript and other html, and at this point *not* putting values into the javascript. I take a string like so: $string= JavaCode HTMLStuff ; I make sure that *everything* in the quotes has only sinlge quotes no double quotes so

Re: [PHP] php java problem

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 16:45, vvsalon wrote: Normally, I am using php4.0.4 at apache 1.3.19 on windows98. It works fine. However, after i added the following lines to the php.ini, none of my original php pages can be shown. The browser just "loading".. Can anyone help me to solve this