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