联盟啦广告联盟评测网,中国站长赚钱源动力,中国首家广告联盟评测网!
广告联盟评测网 -> 新闻频道 选择广告联盟前先在联盟啦上看看广告联盟评测,谨防上当。如果没有您关注的广告联盟,请点这里 --->>添加
推荐 
快速搜索:  高级搜索


Tevez:简单的PHP代码,让你的CB产生销售


  方法如下:首先建一个 PHP文件,文件代码如下
  
  以下为引用的内容:
  
  <?php
  
  function cbValid()
  
  {
  
  $key='你的Secret Key:';
  
  $ccustname = $_REQUEST['ccustname'];
  
  $ccustemail = $_REQUEST['ccustemail'];
  
  $ccustcc = $_REQUEST['ccustcc'];
  
  $ccuststate = $_REQUEST['ccuststate'];
  
  $ctransreceipt = $_REQUEST['ctransreceipt'];
  
  $cproditem = $_REQUEST['cproditem'];
  
  $ctransaction = $_REQUEST['ctransaction'];
  
  $ctransaffiliate = $_REQUEST['ctransaffiliate'];
  
  $ctranspublisher = $_REQUEST['ctranspublisher'];
  
  $cprodtype = $_REQUEST['cprodtype'];
  
  $cprodtitle = $_REQUEST['cprodtitle'];
  
  $ctranspaymentmethod = $_REQUEST['ctranspaymentmethod'];
  
  $ctransamount = $_REQUEST['ctransamount'];
  
  $caffitid = $_REQUEST['caffitid'];
  
  $cvendthru = $_REQUEST['cvendthru'];
  
  $cbpop = $_REQUEST['cverify'];
  
  $xxpop = sha1("$ccustname|$ccustemail|$ccustcc|$ccuststate|$ctransreceipt|$cproditem|$ctransaction|"        ."$ctransaffiliate|$ctranspublisher|$cprodtype|$cprodtitle|$ctranspaymentmethod|$ctransamount|$caffitid|$cvendthru|$key");
  
  $xxpop=strtoupper(substr($xxpop,0,8));
  
  if ($cbpop==$xxpop) return 1;
  
  else return 0;
  
  }
  
  if (cbValid())mail("你的邮箱", "ClickBank - " . $_REQUEST['ctransaction'],"Product: " . $_REQUEST['cprodtitle'] . "\nPublisher: " . $_REQUEST['ctranspublisher'] . "\nAffiliate: " . $_REQUEST['ctransaffiliate'] . "\nTransaction: " . $_REQUEST['ctransaction'] . "\nAmount: " . $_REQUEST['ctransamount']);
  
  ?>
  
  这段代码其中有2个要改的地方,Secret Key 改为任意的大写字母或数字,邮箱改为你的邮箱,命名保存,一般我命名 mail.php,然后上传到你的空间上。
  
  然后打开CB账号,进入 ACCOUNT SETTINGS - My site - Advanced Tools - Edit
  
  Secret Key: 填上刚才PHP文件中的“任意的大写字母或数字” Instant Notification URL: 点 (request access)
  
  出来一列问题,你都选YES,然后下面的Terms of Use 拉下来,I understand and agree to the Terms of Use. *  打勾,保存。
  
  然后 Instant Notification URL 填上你刚才那个PHP文件的地址,如 XXX.COM/mail.php
  
  点后面的 TEST,如果有收到信件就代表成功了!
  
  如果各位想用手机接收的话,可以去注册个139.com的信箱,免费的。然后把上面PHP文件中的邮箱地址 设为 你的手机号@139.com 就OK了,
  
  对了,还要去139的信箱上设置下来信短信提醒:)
  
  这个方法 refund也会提醒  汗。



  版权申明:本站文章均来自网络,如有侵权,请发邮件至web*lianmeng.la(请把*换成@),我们收到后立即删除,谢谢!
  特别注意:本站所有转载文章言论不代表本站观点,本站所提供的图片,代码,设计作品,如需使用,请与原作者联系,版权归原作者所有。
« cc998:网赚,说下我的所见David Yin :Performancing Ads 你的Blog赚钱利器 »
  • 相关文章:

发表评论:

最新文章

随机文章

媒体报道 | 广告联盟一览表 | ATOM | RSS
版权所有 © 2010 lianmeng.la 广告联盟评测网 保留所有权利
注意:带有钻石标志的广告联盟均为本站赞助商。评论内容只代表网友观点,与广告联盟评测网立场无关!请网友注意辨别评论内容。
广告联系: QQ:5609299 注明:广告联盟评测
Powered by:KCMS 4.0 Dev