PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Country Codes

By default, Zend_Service_Amazon connects to the United States ("US") Amazon web service. To connect from a different country, simply specify the appropriate country code string as the second parameter to the constructor:

Example 712. Choosing an Amazon Web Service Country

<?php
// Connect to Amazon in Japan
$amazon = new Zend_Service_Amazon('AMAZON_API_KEY''JP''AMAZON_SECRET_KEY');

Country codes

Valid country codes are: CA, DE, FR, JP, UK, and US.

Zend Framework