Results 1 to 1 of 1
Oct 26, 2013, 06:12 #1
- Join Date
- Oct 2013
- 0 Post(s)
- 0 Thread(s)
How to pass string from C# to PHP web page using PHP nusoap server
I have problem regrading C# to PHP communication. I have read many old posts here and after that i came to conclusion that i have to Use PHP SOAP Web service on server side to get interaction with c#.
Here is the code which i tried:
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA)? $HTTP_RAW_POST_DATA : '';
//notify.php which containing function which is registered with webservice
//member.php getting message and displaying it. This will be message i want from C# code when ever i //click the button.
In 2nd part in Visual Studio 2012 i added web service reference of WSDL file correctly, and written following code for a button.
private void button1_Click(object sender, EventArgs e)
localhost.webservice src = new localhost.webservice();
But when ever i click button and i saw member.php page nothing happens.????????
Still it showing "temp". I want this "Hello" should be shown whenever i click button.
Any help please?? I am worried wasted my whole week to learn this and now have limited time for my project. I shall be very thankful to you.