12-14-2011, 11:08 PM
Put this above all codes on your php page, even above opening head and html tags .
I'll share more helpful information/guide soon.![[Image: smile.gif]](https://bestblackhatforum.com/images/newsmilies/smile.gif) 
 
Press THANKS or REP me if you found it useful.![[Image: cool.gif]](https://bestblackhatforum.com/images/newsmilies/cool.gif) 
 
PHP Code:
<?php
 
//Settings
$magic_number = 1234; // Any number you choose except ZERO!
$cpa_offer_url = 'http://my-i-p.com/';
$red_method = 0; // 0 = JS Form, 1 = JS, 2 = Meta Refresh
$form_method = 0;  // 0 = POST, 1 = GET
//Don't edit below this line unless you know what you are doing.
if (isset($_GET['mn']) and& $_GET['mn']==$magic_number){        
        echo '<html><head></head><body><form action="' . 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] . '" method="post" id="form1">
<input type="hidden"  name="mn" value="' . $magic_number . '" /></form>
<script language="JavaScript"> 
    document.getElementById(\'form1\').submit();</script></body></html>';
        return true; 
        exit();
}
if ($_POST['mn']==$magic_number){        
        if($red_method==0) {
            if($form_method==0)
                $formmethod = "POST";
            else
                $formmethod = "GET";
            
            echo '<html><head></head><body><form action="' . $cpa_offer_url .  '" method="' . $formmethod . '" id="form1"></form>
<script language="JavaScript"> 
    document.getElementById(\'form1\').submit(); 
</script></body></html>';
        }
            else if($red_method == 1)
    echo     '<HEAD>
<SCRIPT language="JavaScript">
<!--
window.location="' . $cpa_offer_url . '";
//-->
</SCRIPT>
</HEAD>';
        else echo '<meta http-equiv="refresh" content=0;url=' . $cpa_offer_url  . '>';
            
    exit();
} 
?>I'll share more helpful information/guide soon.
![[Image: smile.gif]](https://bestblackhatforum.com/images/newsmilies/smile.gif) 
 Press THANKS or REP me if you found it useful.
![[Image: cool.gif]](https://bestblackhatforum.com/images/newsmilies/cool.gif)