Search box

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I would like to put a search box into the pages of my site - which has
around 100 pages - with the following spec:

1.  I'm happy to pay for it but it has to be a one-off fee, not monthly or
annual payments
2.  It should return search results on the same page, not on a separate
search page. I'm happy for it to re-load the page if necessary

I tried Zoom Search but I can't get it to return search results on the same
page.  It opens a separate search.php page

Does anyone know of a good script, preferably php or perl?




Re: Search box

On Sat, 6 Mar 2010 17:00:38 -0000, NTL put finger to keyboard and

Quoted text here. Click to load it

Is the site database driven, and if so will you be generating the
search results directly from the database, or will you need the script
to spider your site and create its own index?

The cheapest, simplest way of doing the latter is to use a Google
custom search box. Provided all of your pages are in Google's index,
it's easy to integrate into your site so that the results show in your
pages rather than separately. The downside is that you have to have
adverts on the page, but if you already show Google ads then that's no
major issue - and you can add your Adsense id to the search settings
so that you get income from them as well.

If you don't want to use Google, then there are plenty of freeware
scripts out there that will spider your site and generate their own
index. A good starting point is the list at

If your site is database driven, though, and you've got the
programming skills to do it, then by far the best option is to write
your own search that hooks directly into the database.

Free postcodes: /
Read why: /

Re: Search box

Quoted text here. Click to load it

Thanks Mark

I will check out your links


Site Timeline