View Full Version : search engine

12-26-2007, 11:54 PM
Need a search engine for to search my site, where do I start? Is there one that I can make that only searches a folder on my site? and the folder would be a section, lets say of videos?

12-27-2007, 12:28 AM
You could try using Google's custom search engine (http://www.google.com/coop/cse/).

12-27-2007, 12:30 AM
Tried that and quite well, however, it does not pick up everything I found. I also want to be able to search folders as well.

12-27-2007, 12:36 AM
You'll need to try PHP and directory listing. Use opendir(), readdir(), etc. (See the documentation on php.net as this will have working examples for basics that you can adjust.)

This will at best check filenames, though, so I recommend a database with descriptions that stores links. Different approach, but better, I'd say. http://php-mysql-tutorial.com

You could use ASP, etc., as well, though I'm guessing it's likely you can use php.

Anyway, you should also start posting in the appropriate forum. Not every question you ask belongs in the "other" forum.