+ Reply to Thread
Results 1 to 5 of 5

Thread: How do you make your very own search bar and how do you utilize it on your page?

  1. #1
    KeybladeSephi's Avatar
    KeybladeSephi is offline x10Hosting Member KeybladeSephi is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    19

    How do you make your very own search bar and how do you utilize it on your page?

    Hello everyone; I would like to know how to create a search bar (not one acquired from Google, or anywhere else) and how to utilize it on your page. Could someone please give me some code to show me how to create a search bar? Furthermore, do I specifically need a .php page for it to function properly? Thanks :happysad:
    When our time is up
    When our lives are done
    Will we say we've had our fun?
    Will we make a mark this time?
    Will we always say we tried?


  2. #2
    MasterMax1313's Avatar
    MasterMax1313 is offline x10Hosting Member MasterMax1313 is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    84

    Re: How do you make your very own search bar and how do you utilize it on your page?

    the simplest way i could think of would be to use php's webscraping abilities to index your pages, then when a user searches for something, query against the index of pages to see if it's located anywhere, then return the results where it is located. This would be somewhat complicated, but doable. The key would be crawling across your pages. You'd have to know the structure of your pages (as in how the GETs are put together, etc.)
    If you found this helpful, don't be afraid to add to my rep
    ____________________________

    There are only 10 types of people in this world...

    Those who understand binary,
    And those who don't

  3. #3
    KeybladeSephi's Avatar
    KeybladeSephi is offline x10Hosting Member KeybladeSephi is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    19

    Re: How do you make your very own search bar and how do you utilize it on your page?

    Thanks, MasterMax1313, but I am a novice at PHP. Could you please give me some code to help me understand what you are talking about? Thanks again =]
    When our time is up
    When our lives are done
    Will we say we've had our fun?
    Will we make a mark this time?
    Will we always say we tried?


  4. #4
    rockee is offline x10 Sophmore rockee is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    120

    Re: How do you make your very own search bar and how do you utilize it on your page?

    Have you tried the search facility included in your cPanel?

    Look for:
    Software/Services->CGI Center->Entropy Search

    Works perfectly and the code to enter in your pages is provided.

    Regards,
    Rocky

  5. #5
    KeybladeSephi's Avatar
    KeybladeSephi is offline x10Hosting Member KeybladeSephi is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    19

    Re: How do you make your very own search bar and how do you utilize it on your page?

    Thanks for the tip, rockee!
    When our time is up
    When our lives are done
    Will we say we've had our fun?
    Will we make a mark this time?
    Will we always say we tried?


+ Reply to 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
x10hosting free hosting for the masses
dedicated servers