Web Reciprocal Links Checker

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
naisramtuca
Forum Newbie
Posts: 3
Joined: Wed Dec 06, 2006 11:43 pm

Web Reciprocal Links Checker

Post by naisramtuca »

Hello Folks,

I am a rookie to this forum and to a Search Engine Optimization company, working as a Web Developer.
The first task delegated to me was to make modifications to an existing reciprocal links checker.

Can anybody give me a sample code that checks multiple links from and multiple links to, to check if they have a links to each other.



Best Regards,

mars
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Haven't looked much into it but there might be something useful at http://www.hotscripts.com
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Should be easy enough, just use file_get_contents() or fopen() to grab the page you're checking, then use either a regular expression or strpos() to see if the link exists in the page.
naisramtuca
Forum Newbie
Posts: 3
Joined: Wed Dec 06, 2006 11:43 pm

Post by naisramtuca »

:lol: Thanks guys,

This is a great way to exchange skills, gain information, wow!! I'll keep in touch and just keep on coding.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I think WordPress implemented something similar in their trackback URI logic.
naisramtuca
Forum Newbie
Posts: 3
Joined: Wed Dec 06, 2006 11:43 pm

Post by naisramtuca »

Sorry Everah (aka Mr. Modnificent) I can't babysit your kids, I have a lot of coding to do.

I appreciate your help, but babysitting is beyond the things I do.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

naisramtuca wrote:Sorry Everah (aka Mr. Modnificent) I can't babysit your kids, I have a lot of coding to do.

I appreciate your help, but babysitting is beyond the things I do.
Its alright. Even though my children are perfect little angels, five is five, and five is a lot.

Now get back on topic... :twisted:
Post Reply