请问怎么分析他们需要提交哪些信息啊?我的代码$ch = curl_init("https://sellercentral.amazon.co.jp/gp/fba/revenue-calculator/index.html?session-id=375-9198265-2631800&search-string=B0087WQ6NI") ;
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) ;
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true) ;
echo $output = curl_exec($ch) ;
他们提交表单的代码<div id='searchProduct'>
<h4 class"orange">Amazon.jpで商品を検索</h4>
<form name="search-form" id="search-form">
<input type="hidden" name="session-id" value="375-9198265-2631800"/>
<input type="text" name="search-string" class="input-default" id="search-string" title="商品名、UPC、EAN、ISBNまたはASINを入力してください。" value="商品名、UPC、EAN、ISBNまたはASINを入力してください。" />
<button name="検索" id="search-products" type="submit" class="amznBtn btn-md-pri"><span>検索</span></button> </form>
</div>
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) ;
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true) ;
echo $output = curl_exec($ch) ;
他们提交表单的代码<div id='searchProduct'>
<h4 class"orange">Amazon.jpで商品を検索</h4>
<form name="search-form" id="search-form">
<input type="hidden" name="session-id" value="375-9198265-2631800"/>
<input type="text" name="search-string" class="input-default" id="search-string" title="商品名、UPC、EAN、ISBNまたはASINを入力してください。" value="商品名、UPC、EAN、ISBNまたはASINを入力してください。" />
<button name="検索" id="search-products" type="submit" class="amznBtn btn-md-pri"><span>検索</span></button> </form>
</div>
參考資料一大堆
http://www.baidu.com/baidu?wd=curl%C4%A3%94Mpost%CC%E1%BD%BB&tn=monline_dg