serp跟踪器php类

serp跟踪器php类

问题描述:

我想使用http://www.andreyvoev.com/programming/simple-serp-tracker-php-class/中的代码为serp跟踪器创建脚本。有人帮我解决这个问题。脚本功能在本地主机abd给我postion,但不在服务器。服务器给我只是emtpy数组()。哪里可能会出现问题?serp跟踪器php类

  • 本地主机的PHP版本5.3.9,
  • 服务器PHP版本5.3.22-1〜dotdeb.0

THX对您有所帮助。

只要从关键字删除的空间,您可以使用进行urlencode以及

做两个页面给予名称第一个index.php文件,第二个tracker.php和tracker.php包括到index.php中和删除空格。

<?php include_once "tracker.php"; //add this line $test = new GoogleTracker(array('git'), 'www.kernel.org', 50); //$test->use_proxy('proxy.txt'); $test->run(); print_r($test->get_results()); echo "================<br>"; print_r($test->get_debug_info()); ?>