| 以下为引用的内容: %26lt;?php function cbValid() { $key="你的Secret Key:"; $ccustname = $_REQUEST["ccustname"]; $ccust电邮 = $_REQUEST["ccust电邮"]; $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(%26quot;$ccustname|$ccust电邮|$ccustcc|$ccuststate|$ctransreceipt|$cproditem|$ctransaction|%26quot; .%26quot;$ctransaffiliate|$ctranspublisher|$cprodtype|$cprodtitle|$ctranspaymentmethod|$ctransamount|$caffitid|$cvendthru|$key%26quot;); $xxpop=strtoupper(substr($xxpop,0,8)); if ($cbpop==$xxpop) return 1; else return 0; } if (cbValid())mail(%26quot;你的邮箱%26quot;, %26quot;ClickBank - %26quot; . $_REQUEST["ctransaction"],%26quot;Product: %26quot; . $_REQUEST["cprodtitle"] . %26quot;nPublisher: %26quot; . $_REQUEST["ctranspublisher"] . %26quot;nAffiliate: %26quot; . $_REQUEST["ctransaffiliate"] . %26quot;nTransaction: %26quot; . $_REQUEST["ctransaction"] . %26quot;nAmount: %26quot; . $_REQUEST["ctransamount"]); ?%26gt; |
这段代码此中有2个要改的地方,Secret Key 改为恣意的大写字母或数字,邮箱改为你的邮箱,定名保存(Save),一般我定名 mail.php,然后上传到你的空间上。
然后 Instant Notification URL 填上你刚刚这*个PHP文件的地点(Address),如 XXX.COM/mail.php
点后面的 TEST,要是有收到信件就代表成功(Success)了!
要是各位想用手机接收的话,可以去注册个139.com的信箱,Free的。
然后打开CB账号,进入 ACCOUNT SETTINGS - My site - Advanced Tools - Edit
Secret Key: 填上刚刚PHP文件中的%26ldquo;恣意的大写字母或数字%26rdquo; Instant Notification URL: 点 (request access)
出来一列问题,你都选YES,然后下面的Terms of Use 拉下来,I understand and agree to the Terms of Use. * 打勾,保存(Save)。然后把上面PHP文件中的邮箱地点(Address) 设为 你的手机号@139.com 就OK了,
对了,还要去139的信箱上设置下来信短信提示:)
那*个点子(Method) refund也会提示 汗。
昨天看到老外邮箱提示CB SALE的点子(Method),今日试了一下,特别不错,还可以用手机收提示 :)简单,Simple,PHP,代码,CB,,
评论