Re: Using Google's API with PHP
| From: | Chris Martin | Date: | Sat, 30 Oct 2004 20:47:03 +0000 |
| Subject: | Re: Using Google's API with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200734@lists.php.net to get a copy of this message | ||
Rahul S. Johari wrote:
Ave, Has anyone been able to successfully use the Google API with PHP here? I've been trying different scripts and each one gives me a similar "Unexpected T_Function" error. The other script from digitalpoint.com does run but it doesn't read my $q, basically it displays all results from google.. It doesn't actually read my query at all. Any help would be appreciated. Ave. Rahul S. Johari Coordinator, Internet & Administration Informed Marketing Services Inc. (518) 266-0909 x154 http://www.informed-sources.comI've done this using the NuSOAP class. http://www.chriscodes.com/google/ I have a simple source code example. You'll need to include NuSOAP, and to replace "Your Google License KEY" in the example with Your Google License KEY. http://www.chriscodes.com/google/google.phps There's a somple tutorial at: http://www.devshed.com/c/a/PHP/Using-The-Google-Web-APIs-With-PHP/ -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/