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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2004
    Location
    Indiana
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Does anyone know how PHP.net does their site searches

    When you do a site search on www.PHP.net you type in what you are looking for and it takes that querey and points it to www.google.com and your search looks like this in googles search bar...

    parse errors site:www.php.net

    does anyone know how this is done? this is an easy way for users to search your site for information.

    Thanks,

    Curt
    ~~~~~~~~~~~~~~
    Curt
    Digital Parrot Technologies LLC
    www.curtbarkey.com

  • #2
    Regular Coder
    Join Date
    Oct 2003
    Posts
    603
    Thanks
    2
    Thanked 1 Time in 1 Post
    google has what's called Site-related searching and i believe if you type any domain after site: in google searches, it will find only results in that domain... and the keywords before site: means it will search only that domain for those keywords.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    They just redirect the site search to Google. A quick peek into the source code of search.php on their site reveals that.
    De gustibus non est disputandum.

  • #4
    New to the CF scene
    Join Date
    May 2004
    Location
    Indiana
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thats what I was looking for

    thanks
    ~~~~~~~~~~~~~~
    Curt
    Digital Parrot Technologies LLC
    www.curtbarkey.com


  •  

    Posting Permissions

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