WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search


Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - השוואת מחירים בסופר
ZeroLag.com
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Password protection for Phorum 3.1.x with userlevels and log.
Categories : PHP, MySQL, Authentication, Security Update Picture
Jan Palmer
Date : Jul 29th 2000
Grade : 2 of 5 (graded 3 times)
Viewed : 12179
File : phorum_login.zip
Images : No Images for this code example.
Search : More code by Jan Palmer
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

This is a Login script I made for use with the superb Phorum 3.1.x (http://www.phorum.org).
The script may easily be altered for use without Phorum 3.1.x.

The reason why I did this script was because I needed a way to password protect forums
with different userlevels and also log the users of the forum. The login script is based on the
login example by Hart Graham (http://www.weberdev.com/get_example.php3?count=1553).


The package consists of 5 files:
--------------------------------
login_common.php         - uservariables set in this file
login.php                 - the login script.
check_login.inc         - the script that checks if users have access to the page.
login.txt                 - the log file (must be set to 666).
logout.php         - the logout script.



bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases
A Simple Script that stores encrypted messages in databases
Categories : PHP, Databases, MySQL, Security
Form Security - Match A Value For Success
Categories : PHP, Authentication, HTML and PHP, Sessions, Security
PHP4 MYSQL Authentication Script with cookie. Short & Sweet
Categories : Authentication, Apache, Cookies, PHP, MySQL
A damaged image generator (class) for validating text. CAPTCHA - Completely Automated Public Turing test to tell Computers and Humans Apart
Categories : PHP, PHP Classes, Security, GD image library, Security
A login page that require username, password and userlevel.
Categories : PHP, Security, Sessions, MySQL, Databases
Authenticator for Exchange Server LDAP
Categories : PHP, Authentication, LDAP, Security, Sessions
PHP3 Authentication using MySQL (also has nice query_db() function to return an array of arrays from a MySQL query result).
Categories : Authentication, MySQL, PHP
Function to generate readable/remeberable random password
Categories : PHP, Security, Security
Use of bitmasks to represent permissions
Categories : PHP, Authentication, Bitwise Operators, Security, PHP Classes
Simple Password example
Categories : PHP, Authentication, Security, HTTP
Password using php, Javascript, and html form
Categories : Security, PHP, Authentication, Java Script
MD5 secured login
Categories : PHP, Java Script, Authentication, Security
Authorize Me! An authentication script.
Categories : MySQL, Databases, Authentication, PHP
A simple PHP login script that you can modify to suite your needs. It use a session to store data in a session file submited by the page.
Categories : PHP, Sessions, Security, Authentication