$client = new SoapClient ($wsdl);
$client->CheckUser(array("username"=>"admin", "password"=>"pass");
echo "Success!";
Now in .NET I would use:
CookieContainer c = new CookieContainer();
Authentication auth = new Authentication() // The web service object
auth.CookieContainer = c;
auth.CheckUser("admin", "pass");
The CookieContainer takes care of persisting the session - how would I achieve this same thing in PHP?
Any help would be greatly appreciated.

New Topic/Question
Reply




MultiQuote




|