Calling servlet in PHP

From: Date: Fri, 15 Dec 2000 21:59:34 +0000
Subject: Calling servlet in PHP
Groups: php.general 
Request: Send a blank email to php-general+get-30594@lists.php.net to get a copy of this message
Hello everyone-- We seem to be having some trouble calling a java servlet from a PHP application. The PHP application is encrypting the account number and the division and then passing it in the URL. The java servlet then decrypts the information and serves up a page. This however is not happening and a blank page is being served. We believe it has something to do with the class paths used by PHP and Java. Have any of you had experience working with PHP in connection with Java or have an idea on what the trouble may be? Here's the code that we are refering to when we call the servlet. The strange thing is without the encryption of $ACCTNO and $DIV and pass it in the URL it works fine. Code Snippett: $ACCTNO = encrypt($userInfo["acctNum"]); $DIV = encrypt($userInfo["div"]); $PAGE_TYPE = "Payments"; header("Location:/servlet/CSWPayments?ACCTNO=$ACCTNO&DIV=$DIV&PAGE_TYPE=$PAG E_TYPE"); Thanks for any help, Jay Paulson

« previous php.general (#30594) next »