diff php/read/aws_signed_request.php @ 43:dbc006408d2b

ASSUMES we have SetEnv PHP_VALUE "include_path =.:/var/test/private:/var/test/ywww:/usr/share/php" in apache2/.../test.conf use dl(...) for debug logging, defined in dlog.php use doAmazonRequest in amazonBookSearch use ../private/web.php (q.v., not in mercurial) for Aserver and Aassociates Started by updating from 40:c24ae74bf6d5, i.e. just before the bug on the main line
author Charlie Root
date Sat, 05 Jan 2019 18:00:10 -0500
parents 2c0c95bd97a6
children
line wrap: on
line diff
--- a/php/read/aws_signed_request.php	Sat Jan 05 06:21:12 2019 -0500
+++ b/php/read/aws_signed_request.php	Sat Jan 05 18:00:10 2019 -0500
@@ -3,49 +3,6 @@
 //20090627/Jaap van Ganswijk: This is a modified version, see the
 //return statement some lines before the end of the last function.
 
-
-$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
-			     ),
-	       );
-
-
 if (!function_exists("aws_signed_request")) {
 function aws_signed_request($region, $params, $public_key, $private_key)
 {