view web.php @ 2:eec825432669 default tip

parameterise db path
author Charlie Root
date Sun, 27 Jan 2019 14:51:23 -0500
parents d70fd5290b07
children
line wrap: on
line source

<?php
// Constants required for Amazon API requests

$Aassociates_id=
  array(
	'uk' => 'bookwhack-21',
	'us' => 'your02b-20',
	'ca' => 'book009-20',
	'de' => 'book04c-21',
	'fr' => 'book07f-21',
	);

$Aserver=
  array(
	'ca' =>
	array(
	      'ext' => 'ca'                      ,  //Canadian normal server
	      'nor' => 'http://www.amazon.ca'    ,  //Canadian normal server
	      'xml' => 'http://xml.amazon.com'   ,  //Canadian xml server
	      ),
	'de' =>
	array(
	      'ext' => 'de'                      ,  //German normal server
	      'nor' => 'http://www.amazon.de'    ,  //German normal server
	      'xml' => 'http://xml-eu.amazon.com',  //German xml server
	      ),
	'fr' =>
	array(
	      'ext' => 'fr'                      ,  //French normal server
	      'nor' => 'http://www.amazon.fr'    ,  //French normal server
	      'xml' => 'http://xml-eu.amazon.com',  //French xml server
	      ),
	'jp' =>
	array(
	      'ext' => 'jp'                      ,  //Japanese normal server, not co.jp!
	      'nor' => 'http://www.amazon.co.jp' ,  //Japanese normal server
	      'xml' => 'http://xml.amazon.com'   ,  //Japanese xml server
	      ),
	'uk' =>
	array(
	      'ext' => 'co.uk'                   ,  //UK normal server
	      'nor' => 'http://www.amazon.co.uk' ,  //UK normal server
	      'xml' => 'http://xml-eu.amazon.com',  //UK xml server
	      ),
	'us' =>
	array(
	      'ext' => 'com'                     ,  //USA normal server
	      'nor' => 'http://www.amazon.com'   ,  //USA normal server
	      'xml' => 'http://xml.amazon.com'   ,  //USA xml server
	      ),
	);
$public_key ="AKIAIHTNWC7L6LOUY4LQ";
$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";

?>