reciprocal link checker script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • work4u

    #1

    reciprocal link checker script

    Hello Everyone,
    I am coding the reciprocal link exchange form which there is function
    to check if my site info and link already been add on the partner site
    page or not.

    Please anyone who works on similar function gives me a hint how it
    works or any sample code would be a great appreciation.

    Thanks in advance.

    webon
  • neur0maniak

    #2
    Re: reciprocal link checker script

    I haven't tested the code, but I would assume it would be something like:


    if (strpos(file_ge t_contents("htt p://other.site/"),
    "http://my.link")!==fal se) {
    // I'm linked
    }else{
    // I'm not linked
    }

    Though, you'd probably want to expand on that to check to see if it's
    inside an <A HREF="">, etc. It's not ideal, because the other site could
    have it linked in a text colour the same as the background colour in the
    smallest font at the bottom of the page and it would still return as
    linked...




    work4u wrote:[color=blue]
    > Hello Everyone,
    > I am coding the reciprocal link exchange form which there is function
    > to check if my site info and link already been add on the partner site
    > page or not.
    >
    > Please anyone who works on similar function gives me a hint how it
    > works or any sample code would be a great appreciation.
    >
    > Thanks in advance.
    >
    > webon[/color]

    Comment

    • Shawn Wilson

      #3
      Re: reciprocal link checker script

      neur0maniak wrote:[color=blue]
      >
      > I haven't tested the code, but I would assume it would be something like:
      >
      > if (strpos(file_ge t_contents("htt p://other.site/"),
      > "http://my.link")!==fal se) {
      > // I'm linked
      > }else{
      > // I'm not linked
      > }
      >
      > Though, you'd probably want to expand on that to check to see if it's
      > inside an <A HREF="">, etc. It's not ideal, because the other site could
      > have it linked in a text colour the same as the background colour in the
      > smallest font at the bottom of the page and it would still return as
      > linked...
      >
      > work4u wrote:[color=green]
      > > Hello Everyone,
      > > I am coding the reciprocal link exchange form which there is function
      > > to check if my site info and link already been add on the partner site
      > > page or not.
      > >
      > > Please anyone who works on similar function gives me a hint how it
      > > works or any sample code would be a great appreciation.[/color][/color]

      Regarding the link "camouflage " -- I assume these types of systems keep track of
      how many go to the ring site from the member sites and how many go to the member
      sites from the ring site. It would be easy enough to set up a cron job that
      flags disproportionat e linking and emails the ring administrator with a
      warning. The administrator could then manually check any suspicious members.

      Shawn
      --
      Shawn Wilson
      shawn@glassgian t.com

      Comment

      Working...