News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



DevShed:
Creating a Login Script for a PHP/MySQL Blogging System (Part 1)
0 comments :: posted Tuesday October 03, 2006 @ 10:00:31
voice your opinion now!

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.

tagged with: mysql blogging system login logout sessions forgot password mysql blogging system login logout sessions forgot password



zend cakephp package mysql releases framework pecl developer zendframework PHP5 PEAR job ajax security book application database code release conference

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