View Single Post

  #3 (permalink)  
Old 11-03-2004
Shawn Wilson
 
Posts: n/a
Default Re: reciprocal link checker script

neur0maniak wrote:
>
> I haven't tested the code, but I would assume it would be something like:
>
> if (strpos(file_get_contents("http://other.site/"),
> "http://my.link")!==false) {
> // 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:
> > 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.


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 disproportionate linking and emails the ring administrator with a
warning. The administrator could then manually check any suspicious members.

Shawn
--
Shawn Wilson
shawn@glassgiant.com
http://www.glassgiant.com
Reply With Quote