dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Thread: Mysql php

  1. #1
    Join Date
    Jun 2009
    Posts
    35

    Question Mysql php

    I'd like to have a search function to search my own site
    I am so new with mysql and php
    Can someone help me to start with pointers - guides ? Thank you

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Mysql php

    Why write your own when you can create a custom Google search for just you site, or when you could use already existing scripts? Creating your own would be a waste of time. You simply could not make one as efficient as pre-existing ones without investing a lot of time.

    To become an professional web developer, it's always wise to use pre-existing libraries to maximize efficiency.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Nov 2009
    Posts
    31

    Re: Mysql php

    Quote Originally Posted by PeejAvery View Post
    Why write your own when you can create a custom Google search for just you site, or when you could use already existing scripts? Creating your own would be a waste of time. You simply could not make one as efficient as pre-existing ones without investing a lot of time.

    To become an professional web developer, it's always wise to use pre-existing libraries to maximize efficiency.
    Using google's search still relies on Google indexing all your pages.

  4. #4
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Mysql php

    Quote Originally Posted by Roguebfl View Post
    Using google's search still relies on Google indexing all your pages.
    Unless you have sensitive information, what's it matter?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  5. #5
    Join Date
    Nov 2009
    Posts
    31

    Re: Mysql php

    Quote Originally Posted by PeejAvery View Post
    Unless you have sensitive information, what's it matter?
    Namely you can't count on them indexing all your pages. Even with a sitemap.

  6. #6
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Mysql php

    Google doesn't rely on a sitemap, it crawls all links on every page.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  7. #7
    Join Date
    Nov 2009
    Posts
    31

    Re: Mysql php

    Quote Originally Posted by PeejAvery View Post
    Google doesn't rely on a sitemap, it crawls all links on every page.
    But does not index all the pages it crawls (only has about half his pages index. even if he get new pages index quite quickly)

    and I do know it does not religh on a sightmap, but even Google say a sitemap helps.

  8. #8
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Mysql php

    When you use a Google Custom Search it does...which is what I have suggested.

    http://www.google.com/cse/?hl=en
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  9. #9
    Join Date
    Nov 2009
    Posts
    31

    Re: Mysql php

    Quote Originally Posted by PeejAvery View Post
    When you use a Google Custom Search it does...which is what I have suggested.

    http://www.google.com/cse/?hl=en
    Which in returns cost money if you want it to index more then 50 pages.

  10. #10
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Mysql php

    Well, if the user has more than 50 pages, then he/she can use other pre-existing libraries...as already stated.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  11. #11
    Join Date
    Nov 2009
    Posts
    31

    Re: Mysql php

    Quote Originally Posted by PeejAvery View Post
    Well, if the user has more than 50 pages, then he/she can use other pre-existing libraries...as already stated.
    Which pre-existing libraries do you recommend? as reinventing wheels is not a good thing 8)

  12. #12
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Mysql php

    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)