| |
Sell 1,000 passwords using ClickBank + PHP
Overview
This is a demonstration web server script for web hosts that support PHP scripting. The script demonstrates how to use ClickBank to sell up to 1,000 passwords using a single ClickBank product id.
(NOTE: If you prefer an off-the-shelf ready-to-use solution for selling passwords or downloads - some of which offer additional security as compared to the simple solution offered in this tutorial - please review this list of eCommerce Products).
If your web host does not support PHP, but does support ASP scripts, read this tutorial instead. If your web host does not support ASP or PHP, or if you want a pure HTML method: Click here.
Requirements Instructions - Generate the password list with 1,000 passwords and save into the PHP file say passwordlist.php
- Make your E-Book link to the sales page with a parameter
Example:
http://www.yoursite.com/sellpassword.php?x={p} - Make a page on your site called sellpassword.php:
Please note: If using Notepad on a version of Windows prior to Windows XP, when you save in Notepad, be sure to place the file name in quotes on the Save As dialog box, i.e. "sellpassword.php" otherwise Notepad will add .txt to the end of the name (giving a file name of sellpassword.php.txt). If using Notepad on Windows XP, this workaround is not necessary.
The above sells a single ClickBank product, and passes x through as a parameter to the thank you page. Edit the line which is marked, to contain your ClickBank nickname, product number and product name.
- Make your thank you page, say thankyou.php:
- Be sure to test thoroughly before unleashing this on real customers!
Notes - The above scripts do not include any validation of user input, logging of which customer bought which password, or extra security to protect your thankyou page. We recommend that you consider this script as a starting point for your own development efforts, rather than a complete example.
|
|
|
|
|
|