eBook Scripts
issue passwords from members' area using php

 
Home Design Tips Scripts Templates/Translations


Issue Passwords From Members' Area Using PHP

Overview

This is a demonstration web server script for web hosts that support PHP scripting. The script demonstrates how to issue passwords from a members' area on your web site.

For the purpose of this demo script:
  1. We assume you provide your customers the download (before or after paying).

  2. You have the capability to include this page in your members' area, and thus only accessible to your customers.
(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 you are looking for a PHP/ClickBank solution: click here.).


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

  2. Put a page in your members' area where the user can enter the number of the password they require, and get the password back.

    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. "getpassword.php" otherwise Notepad will add .txt to the end of the name (giving a file name of getpassword.php.txt). If using Notepad on Windows XP, this workaround is not necessary.

    Important: This script allows the user to retrieve as many passwords as they want from the member's area. For extra security, you could improve this script so that each person can only get the password once or twice (or whatever number of times you required), for example, by keeping tracking of who has asked for which password and when, in a MySQL database.

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

Notes
  1. The script only includes basic validation of user input, and does not include logging of which customer bought which password, or extra security to protect your members' area. We recommend that you consider this script as a starting point for your own development efforts, rather than a complete example.


Amazon Integration Powered by Piranha Feed




 

Sites about eBooks

EBookApprentice.com
Learn about eBook publishing

EBookCompiler.com
Software to create your own eBooks

CoverFactory.com
Create eBook Covers with ease

EBookPower.com
Add multimedia to your eBooks

EBookFriends.com
Discuss eBooks

EBookInterviews.com
Read about other eBook authors' experiences

EBookSubmit.com
Learn about eBook marketing

EBookJungle.com
Searchable directory of eBooks



Related Links

Internet Marketing
 Learn Marketing
 Marketing Tactics

Promotion Links
 Email Marketing
 Increase Traffic
 Press Releases
 Search Engines
 Web Position

Web Site Building
 Accept Credit Cards
 Affiliate Programs
 Domain Names
 Setup Internet Store
 Web Design Tutorial
 Web Hosting
 Webmaster Tools

 

 
About/Terms Of Use     Privacy     Site Map

Copyright © 2002-2008, Answers 2000 Limited