# HG changeset patch # User Henry S. Thompson # Date 1501407408 14400 # Node ID 0578c6e438d355f7cc77c7dda976fc7771b50701 # Parent 77ff181476b80dbffdc5da7048c65c10fb5ec3d3# Parent ae1459564f66f0dbfa900d46fd2917c11ec33a5a merge diff -r 77ff181476b8 -r 0578c6e438d3 mdetect.php --- a/mdetect.php Sun Jul 30 05:36:07 2017 -0400 +++ b/mdetect.php Sun Jul 30 05:36:48 2017 -0400 @@ -152,7 +152,7 @@ function uagent_info() { $this->useragent = strtolower($_SERVER['HTTP_USER_AGENT']); - $this->httpaccept = strtolower($_SERVER['HTTP_ACCEPT']); + $this->httpaccept = strtolower(@$_SERVER['HTTP_ACCEPT']); } //************************** diff -r 77ff181476b8 -r 0578c6e438d3 php/read/getBookDetails.php --- a/php/read/getBookDetails.php Sun Jul 30 05:36:07 2017 -0400 +++ b/php/read/getBookDetails.php Sun Jul 30 05:36:48 2017 -0400 @@ -161,9 +161,8 @@ 'xml' => 'http://xml.amazon.com' , //USA xml server ), ); - - $public_key ="AKIAJBXEHTNCU6LLFNIA"; - $private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; + $public_key ="AKIAIHTNWC7L6LOUY4LQ"; + $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; //for all parameters see if the user has overruled it or use the default foreach ($Adefault as $i=>$d) { diff -r 77ff181476b8 -r 0578c6e438d3 php/read/similar.php --- a/php/read/similar.php Sun Jul 30 05:36:07 2017 -0400 +++ b/php/read/similar.php Sun Jul 30 05:36:48 2017 -0400 @@ -75,9 +75,10 @@ ), ); -include "aws_signed_request.php"; -$public_key ="AKIAJBXEHTNCU6LLFNIA"; -$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; +include "aws_signed_request.php"; +$public_key ="AKIAIHTNWC7L6LOUY4LQ"; +$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; + //for all parameters see if the user has overruled it or use the default foreach ($Adefault as $i=>$d) { diff -r 77ff181476b8 -r 0578c6e438d3 xml/amazonBookSearch.php --- a/xml/amazonBookSearch.php Sun Jul 30 05:36:07 2017 -0400 +++ b/xml/amazonBookSearch.php Sun Jul 30 05:36:48 2017 -0400 @@ -54,8 +54,8 @@ ); include "aws_signed_request.php"; -$public_key ="AKIAJBXEHTNCU6LLFNIA"; -$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; +$public_key ="AKIAIHTNWC7L6LOUY4LQ"; +$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; //for all parameters see if the user has overruled it or use the default foreach ($Adefault as $i=>$d) { diff -r 77ff181476b8 -r 0578c6e438d3 xml/getAmazonInfo.php