SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: php tutorial

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    May 2012
    Location
    Dhaka, Bangladesh, Bangladesh
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up php tutorial

    I want to make a search engine without any database . I just want to grab result from multiple online forum . I want to make this search engine in PHP . anybody please help me.
    Last edited by Mittineague; May 26, 2012 at 15:54. Reason: fixing smilie

  2. #2
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thinking about it, this is an interesting task. "No database" at first sounded a bit awkward, but thinking about it, it can be done without a database just fine.

    How? Google. Google searches are very powerful things. If I wanted to search for a selection of keywords across selected, I'd do it using a google search with a query like
    Code:
    good programming practises site:sitepoint.com/forums/showthread.php OR site:forums.digitalpoint.com/showthread.php
    Although the latter domain isn't going to be much use for that, it's an example.

    Well, you can also use google from within PHP. It's against their T&Cs to use scraping of Google, of course, but they have an API. https://developers.google.com/custom-search is where you want to check out.
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona


Bookmarks

Posting Permissions

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