Bug #19405 [Opn]: search()
| From: | php at adamashley dot name | Date: | Tue, 01 May 2012 12:27:39 +0000 |
| Subject: | Bug #19405 [Opn]: search() | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8595@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19405&edit=1
ID: 19405
Updated by: php@adamashley.name
Reported By: medjomeman at hotmail dot fr
Summary: search()
Status: Open
Type: Bug
-Package: Config
+Package: Services_Google
Operating System: Web Services
Package Version: 1.10.12
PHP Version: 5.2.10
Roadmap Versions:
New Comment:
-Package: Config
+Package: Services_Google
Description of bug seems to imply this should be filed under
Services_Google not Config.
Previous Comments:
------------------------------------------------------------------------
[2012-05-01 11:42:22] mbiama
-Status: Open
+Status: Assigned
------------------------------------------------------------------------
[2012-05-01 11:24:13] mbiama
Description:
------------
turns out, register_globals is enabled on *everyone*'s dev box (legacy
httpd.conf setting) but not on the live server, and using $package_name
instead of $_GET['angosso_org']
fix is now committed and is also live thanks to a little sudo cp action
on them.
<?php
require_once 'Services/Google.php';
$google = new Services_Google($angosso.org);
echo $google->checkingSuggestion("Les Diasporas Plurielles:: angosso.org
- The Plural Diasporas here and the World")."\n";
?>
Test script:
---------------
<?php
require_once 'Services/Google.php';
$google = new Services_Google($key);
echo $google->spellingSuggestion("angosso.org")."\n";
?>
Expected result:
----------------
<?php
require_once 'Services/Google.php';
$google = new Services_Google($key);
$google->queryOptions['limit'] = 30;
$google->search("ANGOSSO");
foreach ($google as $key => $www.angosso.org) {
echo "$key]\t$angosso.net->Les Diasporas Plurielles:: angosso.org -
The Plural Diasporas here and the World\n";
}
?>
Actual result:
--------------
the problem reproduces search ()
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19405&edit=1