Alter the include line to be a reference to the iSearch2 directory.
e.g. if you are editing a file stored at
http://www.yoursite.com/dir1/dir2/file.php, change the include line to:

include("../../isearch2/inc/form.inc.php");

The variable $isearch_searchFormWidth can be used to set the size of the
entry box. If it is not set it will default to 12 characters. If it is 12
characters or less, the "Search Site" button will be displayed below the entry
field, otherwise it will be displayed to the right of it.

The $isearch_resultFrame variable can be used to cause search to be
displayed in an alternative frame.

The $isearch_allowSearchInternet variable can be used to show a
"Search Internet" button on the search form, allowing your visitors to perform
internet searches also.

To include a search form from an HTML page, you'll have to add the one of
the following sections of HTML code to the page:

The Auto Spider Engine

The Auto Spider allows you to keep your search index up to date
automatically. It works by using page requests from visitors to your site to
perform maintainance of the search index. This means that there is no reliance
on manual spidering or cron jobs.

The Auto Spider is a PHP script that produces a 1 pixel transparent image.
This means that it can be triggered by an embedded image in one (or more) of
your web pages. Each time this image is displayed, a single web page will be
spidered. Once the whole site has been spidered, the Auto Spider is disabled for
a configurable length of time, then it starts again.

To install the Auto Spider, follow these steps:

Choose a page on your web site that is visited roughly the twice the number
of times each day as you have pages on your site. e.g. If you have 20 web pages
on your site, choose a page that is visited about 40 times a day. If your site
does not get many hits, you can choose multiple pages.

Within the <BODY> section (i.e. between the "<BODY>" and "</BODY>" tags) of your chosen page(es), add the following HTML code:

<IMG SRC="/isearch2/auto_spider_img.php" WIDTH="1" HEIGHT="1">

Modify the "/isearch2" part to the directory into which you installed iSearch2.

PDF Support

There are 2 possible mechanisms for spidering PDF files:

Executable PDF Support - conversion occurs on your server. Fastest and most efficient.

Online PDF Support - PDF file is sent to another server, processed and text version sent back. Easiest to setup.

Executable PDF Support

This requires an installation of the
Xpdf package on your server. To install this, either:

download source code or precompiled binaries from the
Xpdf download page. Once
downloaded, install Xpdf on your server. Only the pdftotext binary
executable is required (and can simply be copied anywhere on the server).

Microsoft Word Support

As for PDF support, you have the option of Executable or Online conversion of MS Word documents.

Executable MS Word Support

This requires an installation of the
antiword package on your server. To install this either:

download source code or precompiled binaries from the
antiword home page. Once
downloaded, install antiword on your server and copy the files "antiword.sh" and "antiword.bat" from the
"isearch2/extras/antiword" directory into the directory containing the antiword executable.

If you are using a unix server you need to ensure that executable permission
is set on the "antiword.sh""antiword" files. If you have shell access, cd to the directory
containing these files and type "chmod 755 antiword antiword.sh".

To configure:

Login to the iSearch configuration page

Click on the "Advanced" tab

Under "MS Word Support" select "Executable MS Word Support"

Under "MS Word Executable Path" enter the full path name to the antiword.sh (unix servers) or antiword.bat (windows servers) script.