Mercurial > hg > private
comparison web.php @ 1:d70fd5290b07
shared constants
author | Charlie Root |
---|---|
date | Wed, 16 Jan 2019 14:38:31 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8e907c11207a | 1:d70fd5290b07 |
---|---|
1 <?php | |
2 // Constants required for Amazon API requests | |
3 | |
4 $Aassociates_id= | |
5 array( | |
6 'uk' => 'bookwhack-21', | |
7 'us' => 'your02b-20', | |
8 'ca' => 'book009-20', | |
9 'de' => 'book04c-21', | |
10 'fr' => 'book07f-21', | |
11 ); | |
12 | |
13 $Aserver= | |
14 array( | |
15 'ca' => | |
16 array( | |
17 'ext' => 'ca' , //Canadian normal server | |
18 'nor' => 'http://www.amazon.ca' , //Canadian normal server | |
19 'xml' => 'http://xml.amazon.com' , //Canadian xml server | |
20 ), | |
21 'de' => | |
22 array( | |
23 'ext' => 'de' , //German normal server | |
24 'nor' => 'http://www.amazon.de' , //German normal server | |
25 'xml' => 'http://xml-eu.amazon.com', //German xml server | |
26 ), | |
27 'fr' => | |
28 array( | |
29 'ext' => 'fr' , //French normal server | |
30 'nor' => 'http://www.amazon.fr' , //French normal server | |
31 'xml' => 'http://xml-eu.amazon.com', //French xml server | |
32 ), | |
33 'jp' => | |
34 array( | |
35 'ext' => 'jp' , //Japanese normal server, not co.jp! | |
36 'nor' => 'http://www.amazon.co.jp' , //Japanese normal server | |
37 'xml' => 'http://xml.amazon.com' , //Japanese xml server | |
38 ), | |
39 'uk' => | |
40 array( | |
41 'ext' => 'co.uk' , //UK normal server | |
42 'nor' => 'http://www.amazon.co.uk' , //UK normal server | |
43 'xml' => 'http://xml-eu.amazon.com', //UK xml server | |
44 ), | |
45 'us' => | |
46 array( | |
47 'ext' => 'com' , //USA normal server | |
48 'nor' => 'http://www.amazon.com' , //USA normal server | |
49 'xml' => 'http://xml.amazon.com' , //USA xml server | |
50 ), | |
51 ); | |
52 $public_key ="AKIAIHTNWC7L6LOUY4LQ"; | |
53 $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; | |
54 | |
55 ?> |