You are not logged in or Registered. Please Login or Register to get rid of this message and the Advertisements on the forum.
SearchMember ListCalendarHelp Hello There, Guest! Register

User(s) Viewing This Thread: 1 Guest(s)
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Backlink Checker
03-25-2009, 10:22 PM
Post: #1
Backlink Checker
Ok so heres my simple backlink checker just modify the code where $result = not found/found if you require it to do anything different on execution

Code:
<?php

$remoteurl = "http://6ct.info";

$backlink = "tech-faq.com";

function checkLink($remoteurl, $backlink) {

$pattern = "^.*$backlink.*";

$ch = curl_init();

$timeout = '5';

curl_setopt($ch, CURLOPT_URL, $remoteurl);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);

$output = curl_exec($ch);

Curl_close($ch);

$output = htmlentities($output);

If (ereg($pattern,$output)) {
$result = 'BACKLINK FOUND';
}
Else
{
$result = 'NO BACKLINK FOUND';
}
return $result;
}
$check = checkLink($remoteurl,$backlink);

Echo $check;
?>

Regards

Regards
FrozenNova - Forum Moderator
PHP, XHTML,CSS Coding Service Available
Find all posts by this user
Quote this message in a reply
03-25-2009, 10:30 PM
Post: #2
RE: Backlink Checker
Thank you very much ) its great to see members sharing their work with the forum ;)

Thanks FrozenNova greatly appreciated !
Visit this user's website Find all posts by this user
Quote this message in a reply
03-26-2009, 12:55 AM (This post was last modified: 03-26-2009 12:56 AM by FrozenNova. Edit Reason: )
Post: #3
RE: Backlink Checker
Thought I'd do my bit in improving webEvader now Im a mod. Just let me know if you need any more code snippets for the improvements

Regards
FrozenNova - Forum Moderator
PHP, XHTML,CSS Coding Service Available
Find all posts by this user
Quote this message in a reply
09-06-2009, 12:01 PM
Post: #4
RE: Backlink Checker
(03-26-2009 12:55 AM)FrozenNova Wrote:  Thought I'd do my bit in improving webEvader now Im a mod. Just let me know if you need any more code snippets for the improvements

Very nice I'm coding a proxy list script and this is so helpful
Find all posts by this user
Quote this message in a reply
09-08-2009, 12:21 AM
Post: #5
RE: Backlink Checker
No problems, This was used as part of my proxy list script before I left the business.

However I shall be back shortly

Regards
FrozenNova - Forum Moderator
PHP, XHTML,CSS Coding Service Available
Find all posts by this user
Quote this message in a reply

Bookmark
Bookmark to: Mr. Wong Bookmark to: Webnews Bookmark to: Icio Bookmark to: Oneview Bookmark to: Linkarena Bookmark to: Favoriten Bookmark to: Seekxl Bookmark to: Favit Bookmark to: Seoigg Bookmark to: Linksilo Bookmark to: Readster Bookmark to: Folkd Bookmark to: Yigg Bookmark to: Digg Bookmark to: Del.icio.us Bookmark to: Facebook Bookmark to: Reddit Bookmark to: StumbleUpon Bookmark to: Slashdot Bookmark to: Furl Bookmark to: Blinklist Bookmark to: Technorati Bookmark to: Newsvine Bookmark to: Blinkbits
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Proxy list checker FrozenNova 0 352 03-26-2009 03:35 AM
Last Post: FrozenNova

Forum Jump:

Contact UsWebEvader.orgReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication