Results 1 to 10 of 21
-
29th Nov 2011, 03:37 PM #1OPBannedWebsite's:
WarezRelease.org ThatHosting.colinkback checking code
hi guys
here is my link check code: http://pastebin.com/WtPTaBjy
for some sites it works gr8 and checks good, now just for a select few its returning false.
why? any helpChris2k Reviewed by Chris2k on . linkback checking code hi guys here is my link check code: http://pastebin.com/WtPTaBjy for some sites it works gr8 and checks good, now just for a select few its returning false. why? any help Rating: 5
-
29th Nov 2011, 03:40 PM #2Respected MemberWebsite's:
DL4Everything.com Soft2050.inPHP Code:$subBacklink = "http://warezrelease.org/";
-
29th Nov 2011, 03:44 PM #3MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comsome sites use php redirect or html redirect or javascript redirect
you will have to parse the page returned and check for the new url
-
29th Nov 2011, 03:57 PM #4OPBannedWebsite's:
WarezRelease.org ThatHosting.cohi no soft2050, most sites on the web use href="" tags m8...
t30d0r has a point but i like wot i have.
i jus checked a site and seen they use: href="http://www.warezrelease.org/" the www. which i dont use. how can i add http://www.warezrelease.org/ so if it dont find 1 wthout www. it'll find with www.
-
29th Nov 2011, 04:17 PM #5Respected MemberWebsite's:
DL4Everything.com Soft2050.inThats the only thing what i said. Its only checking for that code but not with www. thats why i pointed out www link below the code
To fix this, use this on if check
PHP Code:if ((stripos($page,$subBacklink)===false) || (stripos($page, str_replace("http://","", $subBacklink)===false))
return false;
else
return true;
}
-
29th Nov 2011, 04:59 PM #6OPBannedWebsite's:
WarezRelease.org ThatHosting.com8 tht dont work, it says error here
PHP Code:
return false;
else
return true;
-
29th Nov 2011, 06:13 PM #7Too busy :|Website's:
L337Fx.com BeastieBay.netPHP Code:// Config
$modEnabled = true;
$subBacklink = "warezrelease.org";
$reason = "Add our linkback, then <a href='/contact.php'>email us here</a>.";
$date = date("d-m-Y");
$surl = $_POST['surl'];
$surl = parse_url(trim($surl)); //remove spaces split the url
$surl= str_replace("www.","",$surl['host']); //get host
$email = $_POST['email'];
if ($modEnabled) {
function subBacklink($link, $subBacklink) {
global $subBacklink;
$ch = curl_init($link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62 Version/11.01');
$page = curl_exec($ch);
curl_close($ch);
if (stripos($page,$subBacklink)===false)
echo "No linkback found !";
return false;
else {
echo "Link back found";
return true;
}
-
29th Nov 2011, 08:48 PM #8OPBannedWebsite's:
WarezRelease.org ThatHosting.cocheers Blaze, good idea..
-
30th Nov 2011, 09:53 AM #9Respected MemberWebsite's:
DL4Everything.com Soft2050.inTry this
PHP Code:// Config
$modEnabled = true;
$subBacklink = "http://warezrelease.org/";
$reason = "Add our linkback, then <a href='/contact.php'>email us here</a>.";
$date = date("d-m-Y");
$surl = $_POST['surl'];
$surl = parse_url(trim($surl)); //remove spaces split the url
$surl= str_replace("www.","",$surl['host']); //get host
$email = $_POST['email'];
if ($modEnabled) {
function subBacklink($link, $subBacklink) {
global $subBacklink;
$ch = curl_init($link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62 Version/11.01');
$page = curl_exec($ch);
curl_close($ch);
if (stripos($page,$subBacklink) || stripos($page, str_replace("http://www.", "http://", $subBacklink)))
return true
else
return false;
}
-
30th Nov 2011, 08:13 PM #10OPBannedWebsite's:
WarezRelease.org ThatHosting.com8 tht dont work, jus tested....
hmm gonna try
PHP Code:$subBacklink = str_replace('http://www.', 'http://', 'http://www.warezrelease.org/');
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[WCDDL] linkback check
By Chris2k in forum Web Application/Script SupportReplies: 11Last Post: 20th Aug 2011, 12:58 PM -
Linkback limit
By ShareShiz in forum Forum and DDL DiscussionReplies: 2Last Post: 11th Apr 2011, 07:15 PM -
[Selling] PR4 LinkBack (CHEAP!!)
By ushare in forum Completed TransactionsReplies: 8Last Post: 8th Jan 2011, 10:21 PM -
Need DDL w/o linkback
By CyberDeViLZ in forum Community CooperativeReplies: 5Last Post: 26th Jun 2010, 07:40 AM -
DDL's that require no linkback
By ElementSnake in forum General DiscussionReplies: 5Last Post: 19th Feb 2010, 02:25 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...