Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.0

Request #12677 Proxy support needed
Submitted: 2007-12-13 15:05 UTC
From: tsukamoto Assigned: ttsuruoka
Status: Closed Package: Services_Amazon (version 0.7.0)
PHP Version: 5.2.4 OS: Windows XP SP2
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 33 + 5 = ?

 
 [2007-12-13 15:05 UTC] tsukamoto (Makio Tsukamoto)
Description: ------------ I'm using Services_Amazon behind HTTP proxy, so I need proxy support. Test script: --------------- <?php require_once 'Services/Amazon.php'; $amazon = new Services_Amazon('YOURACCESSID', 'YOURASSOCIATEID', 'us', 'http://xml.amazon.co.jp/onca/xml2'); $amazon->setProxy('127.0.0.1',8080); $products = $amazon->searchIsbn('0596005423'); print_r($products); ?> Expected result: ---------------- Output below. Array ( [0] => Array ( [url] => http://www.amazon.com/gp/product/0596005423%3ftag=walrdigi-22%26link_code=xm2%26camp=2025%26dev-t=0TP2S4QSV4V7DSA1CA82 [asin] => 0596005423 [name] => Amazon Hacks: 100 Industrial-Strength Tips & Tools (Hacks) ... ) [page] => 1 [pages] => 1 [totalresults] => 1 ) Actual result: -------------- It can't acquire it via proxy.

Comments

 [2007-12-17 15:16 UTC] ttsuruoka (Tatsuya Tsuruoka)
This has been fixed in 0.7.1. Thank you for reporting and sending a patch!