我想使用 Google 自定义搜索 API,我可以知道如何在 PHP 语言上使用它。例如:-
<?php
$keyword = "Demo Test" ;
$URL = "http://www.google.com/search?hl=en&q=demo+test&oq=demo+test&aq=f&aqi=g-s1g5g-v3g-j1&aql=&gs_sm=3&gs_upl=298789l300162l0l300519l9l9l0l0l0l0l274l1243l0.3.3l6l0" ;
echo "return number of the website position"; // using method...
?>
它返回网站位置的编号。以前我们使用 cURL。由于 Google cURL Blockage,我们无法使用之前的方法进行搜索。
您能否建议我任何合适的配置方式..
谢谢