eBook Scripts
sell 1,000 passwords using clickbank + php


Sell 1,000 passwords using ClickBank + PHP


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.

  1. Generate the password list with 1,000 passwords and save into the PHP file say passwordlist.php

  2. Make your E-Book link to the sales page with a parameter


  3. 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.

  4. Make your thank you page, say thankyou.php:

  5. Be sure to test thoroughly before unleashing this on real customers!

  1. 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.


Home: eBook Code
Design Tips

Other Sites about eBooks

Learn about eBook publishing

Software to create your own eBooks

Create eBook Covers with ease

Add multimedia to your eBooks

Discuss eBooks

Read about other eBook authors' experiences

Learn about eBook marketing

Searchable directory of eBooks

Related Links

Affiliate Programs
Affiliate Marketing Downloads
Affiliate Marketing eBooks
Affiliate Program Reviews

eBook Authoring
eBook Authoring Downloads
eBooks for eBook Authors
eBook Compiler Software
eBook Cover Creation
eBook Cover Software

Ezine Guide
Increase Website Traffic
Internet Marketing Guide
Internet Marketing Help
Press Release Guide

Search Engines
SEO Guide
SEO Tools

Your Site
Adobe Dreamweaver
Adobe Dreamweaver Tutorials
Accept Credit Cards
Domain Names
Web Design eBooks
Web Design Tools
Web Hosting
Web Hosting Directory
Webmaster Tools Directory


Disclosure: Advertising Link(s): Our company may receive a payment if you purchase a product/service after following this link.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

In Association With Amazon.com
Answers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
In Association With Amazon.co.uk
Answers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.

Contact Us     About/Terms Of Use     Privacy     Site Map     Advertising/Endorsements Disclosures

Copyright © 2002-2015, Answers 2000 Limited