To be frank I don't know PHP. But the problem I am facing is, I have my web service created in C# and ASP.Net and to check whether my service is platform independent I am trying to consume it in as PHP client.
What I tried is:
class myphpclass extends nusoap_client
$wsdl = "http://www.abc.com/chkuser/checkuser.asmx?wsdl";
$string = "email@example.com";
$client = new nusoap_client($wsdl,true);
print "<p> Hello :";
$var = $client->call('findusername',$string);
Quote:Parse error: syntax error, unexpected T_REQUIRE_ONCE, expecting T_FUNCTION
so plz help.
Edited 9-Feb-12 2:30am
class definition block around your code. You are simply executing a sequence of PHP statements, not defining a new class.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)