Php upload file using web service soap

In php file upload can be done easily if you know the logic of file system.What we need to do is create simple nusoap server that have method of two parameters.one parameter is for file name and one parameter is for base64 encoded string of file contents. when client make request it must have to pass file as base64 encoded

Read more

Web Service Authentication php

Using nusoap web service you can easily authenticate user for web service access.You can use setCredentials method of client to pass username and password,The given password will be checked against the web service access. $client->setCredentials($username,$password,”basic”); You can find the working demo here and you can also download the scripts. Client : 1)In line no 48 change “http://127.0.0.1:80/webservice_file_transfer/nusoap/server/server.php?wsdl” to your corresponding url

Read more