Plagiarism checker in PHP ?

Discussion in 'PHP' started by DewShare, Feb 3, 2011.

  1. #1
    Hi

    I want to make a php function that Takes Text as input and then check that text on google. if it find results return True else false,

    Is it possible ? please give me some help to start work on it.

    i shall be thank full to you
     
    DewShare, Feb 3, 2011 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Hey, that's pretty much possible.

    All you need to do is a function, which does following:
    1. takes keyword as input.
    2. does cURL call to google url: http://www.google.co.in/search?q=KEYWORD_GOES_HERE
    3. Checks whether it returns negative result like : "Your search - KEYWORD_GOES_HERE - did not match any documents."
    4. If yes, return false, else true.
     
    mastermunj, Feb 3, 2011 IP
  3. DewShare

    DewShare Well-Known Member

    Messages:
    426
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #3
    thanks can you tell me how can I execute a "cURL call" and also how to compare result and what kind of result i got

    $var = cURL call

    if $var == true
    this
    else
    this

    ect....
     
    DewShare, Feb 3, 2011 IP
  4. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #4
    do you know php programming? if yes, learn cURL, will take just an hour.
    If you do not know php, would advice to hire someone and get the job done in a day.
     
    mastermunj, Feb 4, 2011 IP