WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
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 Index
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
Mobile Dev World

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 : 10338
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 
 

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.



Complete, simple working example of login screen and check on a unique page using php functions, cookies and mysql database.
Categories : PHP, Cookies, MySQL, HTML and PHP, Authentication
Anti SQL injection-PHP
Categories : PHP, MySQL, Security
Secure Login
Categories : PHP, MySQL, Cookies, Security
PHP4 AND MySQL Authentication
Categories : PHP, MySQL, Authentication, Databases
Form Security - Match A Value For Success
Categories : PHP, Authentication, HTML and PHP, Sessions, Security
A Simple Script that stores encrypted messages in databases
Categories : PHP, Databases, MySQL, Security
Full membership authentication system.
Categories : Authentication, MySQL, PHP, Databases
PHP4 MYSQL Authentication Script with cookie. Short & Sweet
Categories : Authentication, Apache, Cookies, PHP, MySQL
complete, simple, working example of a login screen/system using php functions, cookies, and a mysql database for begginers.
Categories : Authentication, Complete Programs, PHP, MySQL, Databases
phpSecurePages is a PHP module to secures pages with a loginname and password. It handles multiple user groups (each has own viewing rights), store data in a MySQL database or a configuration file, and can be used to identify Web site viewers.
Categories : PHP, Security, Authentication
Authenticator for Exchange Server LDAP
Categories : PHP, Authentication, LDAP, Security, Sessions
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
Use of bitmasks to represent permissions
Categories : PHP, Authentication, Bitwise Operators, Security, PHP Classes
bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases