reciprocal link checker script

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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.


Re: reciprocal link checker script

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

if (strpos(file_get_contents(" /"),
" ")!==false) {
    // I'm linked
    // 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

work4u wrote:
Quoted text here. Click to load it

Re: reciprocal link checker script

neur0maniak wrote:
Quoted text here. Click to load it

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 Wilson

Site Timeline