Activity Stream
48,167 MEMBERS
6837 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1.     
    #1
    Banned
    Website's:
    WarezRelease.org ThatHosting.co

    Default 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
    Chris2k 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

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    PHP Code: 
    $subBacklink "http://warezrelease.org/"
    Some site might have http://www.warezrelease.org/ thats the reason it might not be working.

  4.     
    #3
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com
    some sites use php redirect or html redirect or javascript redirect

    you will have to parse the page returned and check for the new url

  5.     
    #4
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    hi 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.

  6.     
    #5
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by Chris2009 View Post
    hi 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.
    Thats 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($pagestr_replace("http://",""$subBacklink)===false))
                return 
    false
                else 
                return 
    true;
            } 

  7.     
    #6
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    m8 tht dont work, it says error here

    PHP Code: 

                
    return false
                else 
                return 
    true

  8.     
    #7
    Too busy :|
    Website's:
    L337Fx.com BeastieBay.net
    PHP 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 
    $surlstr_replace("www.","",$surl['host']); //get host
    $email $_POST['email'];

        if (
    $modEnabled) {

            function 
    subBacklink($link$subBacklink) {
                global 
    $subBacklink;
                
    $ch curl_init($link);  
                
    curl_setopt($chCURLOPT_RETURNTRANSFER1);  
    //            curl_setopt($ch, CURLOPT_HEADER, FALSE);
                  
    curl_setopt($chCURLOPT_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;
            } 
    Try that.

  9.     
    #8
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    cheers Blaze, good idea..

  10.     
    #9
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by Chris2009 View Post
    m8 tht dont work, it says error here

    PHP Code: 

                
    return false
                else 
                return 
    true
    Try 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 
    $surlstr_replace("www.","",$surl['host']); //get host
    $email $_POST['email'];

        if (
    $modEnabled) {

            function 
    subBacklink($link$subBacklink) {
                global 
    $subBacklink;
                
    $ch curl_init($link);  
                
    curl_setopt($chCURLOPT_RETURNTRANSFER1);  
    //            curl_setopt($ch, CURLOPT_HEADER, FALSE);
                  
    curl_setopt($chCURLOPT_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($pagestr_replace("http://www.""http://"$subBacklink)))
                return 
    true 
                
    else 
                return 
    false;

    Edit: Note: Always use link with www. in subbacklink

  11.     
    #10
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    m8 tht dont work, jus tested....

    hmm gonna try

    PHP Code: 
    $subBacklink str_replace('http://www.''http://''http://www.warezrelease.org/'); 

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [WCDDL] linkback check
    By Chris2k in forum Web Application/Script Support
    Replies: 11
    Last Post: 20th Aug 2011, 12:58 PM
  2. Linkback limit
    By ShareShiz in forum Forum and DDL Discussion
    Replies: 2
    Last Post: 11th Apr 2011, 07:15 PM
  3. [Selling] PR4 LinkBack (CHEAP!!)
    By ushare in forum Completed Transactions
    Replies: 8
    Last Post: 8th Jan 2011, 10:21 PM
  4. Need DDL w/o linkback
    By CyberDeViLZ in forum Community Cooperative
    Replies: 5
    Last Post: 26th Jun 2010, 07:40 AM
  5. DDL's that require no linkback
    By ElementSnake in forum General Discussion
    Replies: 5
    Last Post: 19th Feb 2010, 02:25 PM

Tags for this Thread

BE SOCIAL