Search
Left Quote    I find that the harder I work, the more luck I seem to have.
- Thomas Jefferson    
Right Quote
 
[login] | [Register]
 

Complete Members System

by: bs0d
Page: 1 of 9
(View All)

INTRODUCTION

Nearly every website allows you (the visitor) to become a member of the site you're visiting. Typically, one will register a desired username, and setup a password, then fill out a bit of information to stock a profile, like: location, interests, etc. and you're done. You can then access parts of the site that were once restricted, participate in forum discussions and cast your vote on polls - you get the idea. But how is that done? How do they distinguish between members? How can I do that with my site? Read on and you will learn how to allow visitors to register as members, and allow them to login/logout of your website.

REQUIREMENTS

Just like anything else, a few requirements exist before this can be accomplished.
  1. PHP - This means the company/website that provides you webspace (your host) has PHP installed on their server. Or, download and install PHP for free if you're running your own server. Here is a link: http://www.php.net/downloads.php.
  2. MySQL database - This means the company/website that provides you webspace (your host) has MySQL database installed on their server. Or, download and install MySQL for free if you're running your own server. Again, here is a quick link: http://dev.mysql.com/downloads/.
  3. phpMyAdmin - Not required, but you will be creating tables in your database, and this tool makes it much easier! Just like the others, free download heres a link: http://www.phpmyadmin.net/home_page/downloads.php
  4. Proper Design - You will be entering code that needs to appear on every page of your site, so to make this simpler on your part, your site should be setup where everything is broken up like: page_header, page_sidebar, etc. If you're lost, read this tutorial: Site Design Made Simple.
  5. PATIENCE!!! - It almost never works the first time you set it up. Find your errors and go from there. I will guide you through as best as I can, but in the end if there is something you cannot fix or find an answer for, try the Forums and if I cannot help you, someone else can.




1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  
Next »


Comments:

  asim13june
  Subject: "script not working" Date: Feb 27 2008 at 5:36 am    
Hi,
i installed this script on my windows based server but the same shows some error... im a total newbie can u please help how many files should i make and what should be the name... wether all files hsould be in the same directory or not....
  bs0d
  Subject: "Read Entire Article?" Date: Feb 27 2008 at 5:45 pm    

asim13june,

Did you read the entire article? This guide shows you step by step what files to create and such. It is up to you what directory you want to store them in, just be sure that you reference to the files accordingly within the various scripts.

If you have any detailed questions, start a thread in the forums and we'll try to help. Thanks
  Artiscorp
  Subject: "php myAdmin" Date: Nov 10 2010 at 4:57 pm    
I managed install and set up SQL and PHP MYADMIN have been trying to follow your tutorial which is excellent by the way considering I have no idea where what I'm doing. However no pain no gain my question is simple I have two boxes over the top of the first one it says create database which has three... and then into space a second box has the word Collation and then a button with the words (create database)
what do I type in that first box I've tried various names like-Login -names, but I keep receiving error message. Please help would greatly appreciate it thank you!
  bs0d
  Subject: "phpMyAdmin Install" Date: Nov 11 2010 at 1:20 pm    

Ariscorp:

Unfortunately I'm not sure I will be much help to you here. It sounds like you have installed SQL and phpMyAdmin, but now you need to create a database. I would recommend following the installation guide for both programs, which should include creating the database.

Once you have that, you can create the necessary tables for this members system, and begin creating the PHP pages.
You Must be logged in or a member to comment.


Tutorial Stats

Tutorial Stats

329,578 Views
41 Total Comments
4.8 Rating of 5 (5 Votes)

Options

Tutorial Options

· Login to Rate This Article
· Login to Post a Comment
· Read more by this author
Digg This Article! Del.icio.us: Bookmark This Article Reddit: Bookmark This Article BlinkList: Blink This Article! YahooMyWeb BlogMarks: Add This Mark! Furl: Save This Article Spurl: Mark This Article

Articles

Related    

· Simple PHP Tutorial
· One File Website
· Pagination with PHP
· Building a Comments Script
· Variable Scope



"AllSyntax.com" Copyright © 2002-2017; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank