Results 1 to 4 of 4

Thread: search engine

  1. #1
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default search engine

    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?

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    You could try using Google's custom search engine.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •