First steps - Access the Web service and list client
Preparation
- Configure your PHP installation so that it has the cURL extension installed and activated:
- With Windows: Place this line in your
php.ini
file:extension=php_curl.dll
- Linux/Mac: install the cURL extension:
sudo apt-get install php5-curl
- With Windows: Place this line in your
- Copy the
PSWebServiceLibrary.php
file at the root of your Web server.You can also do this tutorial on a local server even while your shop is on the Internet.
- Create a
list_the_clients.php
file at the root of the Web server that you have chosen. - Specify where to find the web server in your file:
require_once( './ PSWebServiceLibrary.php' );
Configured this way, your file should be found in the same folder as PSWebServiceLibrary.php
.