Page 1 of 1

Php integration with java servlets using curl

Posted: Mon May 22, 2006 8:16 am
by sudhir
Hello,

Currently i have a system where i am required to post some data from my php application to a application which is written in java servlets......., and data that i post from my php application....is not getting posted to the application written in servlets ............. But when i try to send the same data to a php script i am receiving all the data posted to it....... I am using CURL to post the data to servlet application.

Below are the LAMP verions that i am using

Operating system : Redhat enterprise edition
PHP : 5.1.1
Apache : 2.1

Java application details

Operating system : windows NT
Tomcat : 4.0
Java : 1.5

Regards,
Sudhir

Posted: Mon May 22, 2006 8:46 am
by bdlang
Code?

Posted: Mon May 22, 2006 9:45 am
by sudhir
I need php code through which i can post data to java servlet

got it

Posted: Mon May 29, 2006 1:44 am
by sudhir
I found a way through which we can send multipart data to a JSP application from a php application through CURL

Regards,
Sudhir