A2S Simple Store with Request Signing in PHP

This is a simple PHP 5 application demonstrating the basics of how to interact with Amazon Associates Web Service (A2S, formerly known as ECS).

This sample is based on the Amazon A2S Simple Store PHP script, which stopped working when Amazon started requiring cryptographic signatures on Amazon API requests.

This version of the SimpleStore script is (c) 2016 Franklin Veaux, licensed under the Apache 2.0 license. You are free to use, modify, redistribute, create derivative works, and generally do whatever else you want as long as this notice remains intact.

About This Sample

What's New

Prerequisites

Running the Sample

  1. Replace [Your Amazon Access Key ID] wih your AWS Access Key Id in the simplestore.php file
  2. Replace [Your Amazon Secret Access Key] wih your AWS Secret Key in the simplestore.php file.
  3. Replace [Your Amazon Associates ID] with your Associate Tag in the simplestore.php file
  4. To run the sample, put SimpleStore.php in your root directrory and load SimpleStore.php in your browser.