Hi,

Please advise if the following is possible and how can pass parameters from the PHP to the Java application.

Thanks.

Here's my script draft:

<?PHP
      ...
      ....
      $XML_toEnc = urlencode ($XML);

// The XML_toEnc is a string and shall be urlencoded ! $EncXML = shell_exec(""/usr/bin/java/java -jar MyApp.jar -XML <$XML_toEnc>); <<== ??? How can I pass parameters like a large string of let say XML?

echo  $EncXML; // back to the MObile Client

// Receiving client shall:
//  urldecode the string


?>


Eli Orr


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to