Pratheepan Raveendranathan > WebService-GoogleHack > GoogleHack/WebInterface/index.cgi


Annotate this POD


New  1
Open  1
View/Report Bugs

WebService::Google-Hack Web Interface ^


The WebService::Google-Hack web interface provides an easy to use interface for some of the features of WebService::Google-Hack.


To install the interface please follow these steps:

1) Create a directory named ghack in your cgi-bin directory (Where all your cgi files reside). So it should be something like:


2) Next, copy the file named google_hack.cgi, which is given with the distribution of the google-hack package into your cgi-bin/ghack/ directory.

3) Open the index.cgi file.

*Note: The index.cgi file is in the WebInterface directory of GoogleHack. For eg: WebService/GoogleHack/WebInterface/.

4) Now, in the index.cgi file (which is also given in the WebInterface directory of GoogleHack),

Set the remote_host, and remote_port variables to the correct values.

$remote_host = '';

$remote_port = '';

The remote host will be the IP address of the machine where the google_hack server will be running. The remote port needs to be the same as the $LOCALPORT variable in

5) Set the defaultKey variable to your default Google-API key.


You should now be able to use the web interface.


Ted Pedersen, <>

Pratheepan Raveendranathan, <>

Jason Michelizzi, <>

Date 11/08/2004


Copyright (c) 2003 by Pratheepan Raveendranathan, Ted Pedersen, Jason Michelizzi

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to

The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: