News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Creating a Login Script for a PHP/MySQL Blogging System (Part 1)
October 03, 2006 @ 10:00:31

DevShed is starting up a new series this morning with this new tutorial, part one in the creation of a simple blogging system using PHP and MySQL.

In this three-part tutorial we are going to be creating an open blogging system. We are also going to provide scripts that will make it possible to switch to a closed blogging system. This article, which is the first part, will cover the creation of the login scripts for a closed system.

They start with a definition, the difference between an open blogging system and a closed one (if users have to register or not). They start with the creation of the database to store the users in followed by the PHP code for the simple login page. It uses sessions to keep track of which user is logged in. Of course, where there's a log in, there needs to be a log out and they give the simple code for that. Finally, they include a "forgot your password" script to help users when they can't remember the info they'd signed up with.

0 comments voice your opinion now!
mysql blogging system login logout sessions forgot password mysql blogging system login logout sessions forgot password


blog comments powered by Disqus

Similar Posts

John Walsh's Blog: Benchmark - MYSQL vs MYSQLi

PHP Magazine: IPM Poll Question: What Features do You Prioritize in a CMS?

Mike Kornienko's Blog: Integration of Spry and PHP/MySQL

Zend Developer Zone: MySQLND, MySQL_UH and other goodies available to PHP programmers

AndroidHive: Android Login and Registration with PHP, MySQL and SQLite


Community Events

Don't see your event here?
Let us know!


series configure symfony2 release opinion example library conference laravel podcast php7 api interview performance introduction language community install framework application

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework