Mercurial > hg > ywww
comparison php/read/getBookDetails.php @ 38:c24ae74bf6d5
pass char for log lines in to doAmazonRequest
| author | Charlie Root |
|---|---|
| date | Fri, 04 Jan 2019 18:02:20 -0500 |
| parents | e570b199108b |
| children | dbc006408d2b |
comparison
equal
deleted
inserted
replaced
| 37:633402a4995d | 38:c24ae74bf6d5 |
|---|---|
| 186 if ($searchindex!='Books') { | 186 if ($searchindex!='Books') { |
| 187 $parameters['SearchIndex']=$searchindex; | 187 $parameters['SearchIndex']=$searchindex; |
| 188 } | 188 } |
| 189 | 189 |
| 190 try { | 190 try { |
| 191 $xml=doAmazonRequest($Aserver[$locale]['ext'],$parameters,3); | 191 $xml=doAmazonRequest($Aserver[$locale]['ext'],$parameters,6,'d'); |
| 192 //use this xml to pull out the necessary information and save it | 192 //use this xml to pull out the necessary information and save it |
| 193 set_error_handler(function () { | 193 set_error_handler(function () { |
| 194 global $out,$isbn; | 194 global $out,$isbn; |
| 195 file_put_contents('/var/ywww/debug/phpDebug', | 195 file_put_contents('/var/ywww/debug/phpDebug', |
| 196 "Caught one bd: ".$isbn, | 196 "Caught one bd: ".$isbn, |
