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 5 of 5

Thread: Search Button

  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Search Button

    Hey guys and gals,

    I'm putting up this website and one of the features I want to implement is a search field and button. How would I go about doing that (please be as detailed as possible)? Thanks in advance!

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Best way is by using a serverside solution. Does your host support php, asp, cgi/perl, etc?

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    218
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you looking for a site search or just want visitors to search the web from your site (i.e sort of a link to other search engines)

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sql/php is the best solution in my book, i like using that.

    you could use javascripting though its very very very very tedious. In an array put in all the main words you want (if its a simple search) and make a page for each one of them.

    Don't know about double sided arrays, but i guess you could nest them to get a better search. I wouldn't recommend this way though.

    Not much help but still...

    Enjoy

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post
    I would recommend index server, or sometype of indexing software because to open every file on your server and text search is time consumming no matter what language you use. And the alternate to that is write your own indexer which is crazy for a newbie. That's if you want to search your site, if you want to search the web there are many services to do that google is one of the best but they cost money if you aren't an educational institution.
    I would rather be a lion for a day than a lamb that lives forever.


  •  

    Posting Permissions

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