温馨提醒:本文最后更新于2010年12月10日,已超过 5 年没有更新,涉及的内容可能已经失效!!
新做CB的朋友相信每时每刻都会关注自己的个人账户,梦想着页面不停的刷新,美元在不停的疯涨,但总不如愿,是吧?
今天为大家介绍个小技巧,只要CB里产生了一个sale,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']); ?>
这里有两个要改的地方,一个是“Secret Key”,填写一串大写字母或数字,另一个是“邮箱”,输入你需要通知的邮箱(推荐Gmail)。
文件保存后关闭,名字随便取,我设置的是“cb.php”。
接下来就去CB的个人设置里,打开ACCOUNT SETTINGS - My site – Advanced Tools – Edit :
1、”Secret Key“填入刚才你输入的那个
2、Instant Notification URL: 点 (request access) ,出来一列问题,你都选 YES,然后下面的Terms of Use 拉下来, I understand and agree to the Terms of Use. *项 打勾,保存。
然后 Instant Notification URL 填上你刚才那个PHP文件的地址,如 XXX.COM/cb.php
填写好后,点击TEST,如果你邮箱收到了邮件,就代表设置成功了。
手机通知:
139邮箱有一个邮件到达手机通知的功能,自己去139邮箱后台设置好后,把你刚才的邮箱设置转发规则(当然,你可以直接把cb.php文件里的邮箱设成139的,但是国内邮箱有时候会收不到国外邮件,这个要注意)
设置成功了吧,开始享受你的ClickBank赚大刀之旅吧。
ClickBank如果推广的好。前途无限啊。不过听说要结合GOOGLE ADSENSE广告推介才能够赚大钱。当中好像会牵扯到很多。
具体我是不知道。如果我知道的话。我就发了。
CB、CJ,这两个资源大家都知道,但真正赚到钱的没几个,竞争激烈啊
就是不知道实际怎么操作啊,自己在网上摸索要走很多的弯路的
梦想着美元在不停地涨,赚多多的美元哦