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

Mike Naberezny's Blog: New in Horde: Routes

Jani Hartikainen's Blog: Refactoring explained to an absolute beginner

NetTuts.com: Securing Your Server Login

O\'Reilly: $lamp =~ /^Linux,\\s*Apache,\\s*MySQL,P(?:hp|ython|erl[56])$/

PHPMaster.com: Action Automation with MySQL Triggers


Community Events





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


interview language artisanfiles version security introduction podcast release list framework opinion composer tool community symfony series voicesoftheelephpant laravel conference library

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