Remote link verification - one time

Discussion in 'PHP' started by newrhodes, Jul 2, 2009.

  1. #1
    Hi

    Looking for a "back link verification" script or module; I did search through this forum, but most of the threads are for periodic / repeat verification; doesn't meet with my need.

    What I want to do is give an offer : in return for a backlink, anyone can get access to a special offer (could be a download, a freebie, or a discounted price).

    I want the backlink to site A (on server A)
    The other party puts up a backlink on site B (server B).
    I want to run the checking on site C (different server again, server C).

    Simple form where the other party enters the url to site B.
    Script checks if there is a backlink (preferably also check that it is do-follow, but that's a nice to have; alternatively, specify the string including the anchor text).

    If yes, form allows him to proceed to the special page.
    If no, form brings up the "sorry, we didn't find it page. Pl. try again".

    Any help appreciated.
     
    newrhodes, Jul 2, 2009 IP
  2. neegeris

    neegeris Banned

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use those functions:
    file_get_contents
    stristr

    if you need check if your link have dofollow not other links in a,b or c site you must add this function:
    preg_match
     
    neegeris, Jul 4, 2009 IP