Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > php search engine?...

php search engine?...
Thread Tools
Registered User
Join Date: Sep 2002
Location: New York City
Status: Offline
Reply With Quote
Feb 18, 2004, 02:12 PM
 
Hi. I've got a site hosted with PHP and MySQL. I'd like to create a "Search" tool that would have all of my static pages indexed.

I don't know if this is possible, but I'd really some php tool that I can say "go index my pages" and then it will insert the stuff into a db table. Then I simply provide a "search" text field on my web page which would invoke the search query.

Does anyone know of a free php+mysql tool that would let me perform searches? Also, since I'm using a hosting service, I am not allow to install any software, so I would need a php driven program.

Thanks in advance for any suggestions.

-Ben
(Last edited by bens1901; Feb 18, 2004 at 02:29 PM. )
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Feb 18, 2004, 03:18 PM
 
Originally posted by bens1901:
Hi. I've got a site hosted with PHP and MySQL. I'd like to create a "Search" tool that would have all of my static pages indexed.

I don't know if this is possible, but I'd really some php tool that I can say "go index my pages" and then it will insert the stuff into a db table. Then I simply provide a "search" text field on my web page which would invoke the search query.

Does anyone know of a free php+mysql tool that would let me perform searches? Also, since I'm using a hosting service, I am not allow to install any software, so I would need a php driven program.

Thanks in advance for any suggestions.

-Ben
My personal fave is http://www.phpdig.net/ - I've got it implemented on a few of my sites and it does the job beautifully. The source is also pretty straight-forward so you can customise it to your heart's content.

It works by spidering your site as any normal spider would work, and can recurse up to 20 levels (although you'd need to go to sleep while you waited for THAT to finish!). It also logs search queries, so you can perform 'recent searches' or 'top 10 searches' if you wanted.

I've customised my own version of it, so let me know if you need any help setting it up or modifying it.
Computer thez nohhh...
     
Registered User
Join Date: Sep 2002
Location: New York City
Status: Offline
Reply With Quote
Feb 19, 2004, 09:45 PM
 
Thanks :-)

I'll give it a try.

-Ben
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2