Home     License     Payment     Contact Us   Tutorial    Links   
PHP Spam Terminator
Demo
4MemberOnly
Demo
F.A.Q
Tutorial
Commercial Licence
USZip Digger
US ZipCode Scripts
Database Snapshots
ezFAQ
Demo
Live ezFAQ
Tutorial
IPWhereRU
4MemberOnly - Template
Demo
Shopping Cart
 
How to build a member only area on your site using 4MemberOnly
  Today you're going to learn, in simple terms, how to use 4MemberOnly to build a member only area on your site. This is a quick, easy, straight to the point, hands-on tutorial that will get you coding in no time.

Note that to properly understand this tutorial, you will need a working knowledge of HyperText Markup Language (HTML).

First of all, upload 4MemberOnly to your server.

Your web server must have PHP and MySQL. Unzip 4MemberOnly and upload files into your web server.

Customise file configure.php

$DBhost = "xxxxxxx"; //$DBhost = "localhost";
$DBuser = "xxxxx";
$DBpass = "xxxxxx";
$DBName = "xxxxxx";

$DBtable = "register_gold" ;

// customise this to your server path
$script_path = "http://www.yourdomain.com/4MemberOnly"; //"http://www.gdsland.com/4MemberOnly/" ;

// System will send email to this address when people register
$admin_email = "info@yourdomain.com";

//this is administrator user name and password
$admin_username = "admin" ; // For security reason, change this admin name
$admin_pw = "changeit" ; // For security reason, change this password

Run create_table.php on your browser

Suppose you install the script on http://www.yourdomain.com/4memberonly, then enter http://www.yourdomain.com/4memberonly/create_table.php on your browser.
If everything goes well, 4MemberOnly is ready. If you encounter problem, check your configure.php file.
Or, you can check your database directly.

Add more member pages

Creating a member page is very easy.
First, if the page is HTML page, rename it to php directly. For instance, index.html, change it to index.php.
Second, add following code to the top of this page.
<?php
require("member_page_header.php");
?>
That is it.

 
Copyright © 2003-2010, GDSLand.com - Great Design & Source LLC :: Refund Policy :: Privacy Policy ChemMol.com
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z