Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Building a search box from scratch?

    I would like a search box w/o ads, I have Google CSE for temporary...

    Thanks, and if possible, not using an database, but I have up to 25 allowed if needed...

  • #2
    Regular Coder
    Join Date
    Mar 2008
    Posts
    235
    Thanks
    6
    Thanked 21 Times in 20 Posts
    What are you searching through?

    If its static HTML pages or generally any static content then you're going to have to use something like curl, which will run through your website in the same way Google does and then output accordibly.

    php.net/curl
    Andrew Sharman
    Web designer, developer and programmer.

    If you found my post helpful, why not give thanks! :)

  • #3
    New Coder
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Building a search engine is no trivial job but it can be done with a bit of work (though I wouldnt attempt it without a database).
    Depending what you are looking to index an how you want it indexed your engine could become quite complex.

    Something like counting the occurance of words and giving results based on that is fairly easy but its quite a long way from the likes of google.


  •  

    Tags for this Thread

    Posting Permissions

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