> From: "klikmaker" <[EMAIL PROTECTED]>
>
> I've never incorporated a site search tool in a web site, but I think
> we need one for our company's web site. Could anyone recommend
> something...preferably PHP based, that I could use on our site?
The simplest way is to use Google:
SearchSite.php:
<?php
echo '<HTML><HEAD><META HTTP-EQUIV="refresh" CONTENT="0; URL=http://
www.google.com/search?q=';
echo $_GET['q'];
echo '+site:www.bytesmiths.com&ie=UTF-8&oe=UTF-8"></HEAD><BODY></
BODY></HTML>'
?>
put this in your common code for all pages:
Search Site:
<FORM METHOD="get" ACTION="/SearchSite.php" TARGET="new">
<INPUT TYPE="text" NAME="q" SIZE="13" TABINDEX="1">
</FORM>
:::: Terrorism is the best political weapon, for nothing drives
people harder than a fear of sudden death. -- Adolf Hitler
:::: Jan Steinman <http://www.Bytesmiths.com>
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/