<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 02:01:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NETTUTS.com: A Better Login System]]></title>
      <guid>http://www.phpdeveloper.org/news/12229</guid>
      <link>http://www.phpdeveloper.org/news/12229</link>
      <description><![CDATA[<p>
In <a href="http://net.tutsplus.com/tutorials/php/a-better-login-system/">this recent tutorial</a> from NETTUTS.com they show how to create a "better login system" that supports a bit of access control functionality to even further secure your site.
</p>
<blockquote>
Net.tuts+ has published several great tutorials on user login systems. Most tutorials only deal with authenticating the user, which allows for two levels of security: logged in and not logged in. For many sites, a finer degree of control is needed to control where users can go and what they can do. Creating an access control list (ACL) system will give you the flexibility for granular permissions.
</blockquote>
<p>
They walk you through the database creation (user information), coding the ACL and user authentication classes, how to check a user's permissions and how to create a user admin screen to allow for easy maintenance. You can find the complete source of the tutorial <a href="http://nettuts.s3.amazonaws.com/232_customSiteAccess/download.zip">here</a>.
</p>]]></description>
      <pubDate>Mon, 30 Mar 2009 07:55:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: Login example with Zend_Auth]]></title>
      <guid>http://www.phpdeveloper.org/news/11676</guid>
      <link>http://www.phpdeveloper.org/news/11676</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has <a href="http://robertbasic.com/blog/login-example-with-zend_auth/">posted an example</a> of the use of the Zend_Auth component of the Zend Framework inside of an example controller.
</p>
<blockquote>
So, here's what I'm going to do: authenticate an user against a database table using Zend Framework's Zend_Auth component. It's really a piece of cake. You can see a working example here: <A href="http://robertbasic.com/dev/login/">http://robertbasic.com/dev/login/</a>.
</blockquote>
<p>
He <a href="http://robertbasic.com/blog/login-example-with-zend_auth/">sets up</a> a registry instance, a database table for the logins and the sample controller with both login and logout functionality. Complete code (and links to Zend Framework documentation are included).
</p>]]></description>
      <pubDate>Mon, 05 Jan 2009 22:14:39 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Authentication Scripts for a User Management Application]]></title>
      <guid>http://www.phpdeveloper.org/news/11484</guid>
      <link>http://www.phpdeveloper.org/news/11484</link>
      <description><![CDATA[<p>
DevShed continues their series looking at user authentication in PHP applications with <a href="http://www.devshed.com/c/a/PHP/Authentication-Scripts-for-a-User-Management-Application/">this third part</a> of the nine part series. The focus is on the creation of the authentication scripts.
</p>
<blockquote>
In this article we will continue to discuss the application-wide scripts that we started to talk about in the last article. These special scripts are used by all the scripts and pages of the application. We will continue to look at the func.inc script that has several useful functions defined in it.
</blockquote>
<p>
Their func.inc script contains the helper functions the rest of the application can use (like isAdmin, isAuthd, genpass and checkEamil). They explain each of the the functions and include an example of them in action. The also include the other half of the pair - the logout script.
</p>]]></description>
      <pubDate>Tue, 02 Dec 2008 09:31:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEveryDay.com: New Zend Framework Articles/Tutorials]]></title>
      <guid>http://www.phpdeveloper.org/news/10024</guid>
      <link>http://www.phpdeveloper.org/news/10024</link>
      <description><![CDATA[<p>
The PHP Every Day site has just posted a whole new list of tutorials that might interest Zend Framework developers:
</p>
<ul>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Creating-Switching-for-Front-Page-P570.html">Zend Framework Login: Creating Switching for Front Page</a>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Creating-Logout-P569.html">Zend Framework Login: Creating Logout</a>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Protected-Page-P568.html">Zend Framework Login: Protected Page</a>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Fatal-error-Cannot-use-object-of-type-stdClass-as-array-P567.html">Zend Framework Login: Fatal error Cannot use object of type stdClass as array</a>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Creating-Authentication-P566.html">Zend Framework Login: Creating Authentication</a>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Creating-Form-Login-P565.html">Zend Framework Login: Creating Form Login</a>
<li><a href="http://www.phpeveryday.com/articles/Zend-Framework-Login-Preparing-Database-P564.html">Zend Framework Login: Preparing Database</a>
</ul>
<p>
Check out <a href="http://www.phpeveryday.com/index.php">their site</a> (or grab <a href="http://feeds.feedburner.com/phpeveryday">their feed</a>) for more PHP-related articles and tutorials.
</p>]]></description>
      <pubDate>Wed, 23 Apr 2008 12:06:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building a Logout Class]]></title>
      <guid>http://www.phpdeveloper.org/news/8593</guid>
      <link>http://www.phpdeveloper.org/news/8593</link>
      <description><![CDATA[<p>
DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Building-a-Logout-Class/">a new tutorial</a> today about building another common component of a website - the logout component.
</p>
<blockquote>
The main function of the logout class is to log out a user and then redirect the user to the login page. On a programmatic level, the logout class terminates and destroys the session variables that the login class created for the user and also logs the exit time to the database. This article will show you how to create a logout class. It is part of a series on application framework components.
</blockquote>
<p>
They build out the simple part of the class first, handling the variables and all and then move on to handling the logout and updating the database to reflect the user's status. They finish the tutorial off by giving both the database structure for the component and an example of it in action.
</p> ]]></description>
      <pubDate>Wed, 05 Sep 2007 12:36:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Creating a Login Script for a PHP/MySQL Blogging System (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/6410</guid>
      <link>http://www.phpdeveloper.org/news/6410</link>
      <description><![CDATA[<p>
DevShed is starting up a new series this morning with <a href="http://www.devshed.com/c/a/MySQL/Creating-a-Login-Script-for-a-PHPMySQL-Blogging-System/">this new tutorial</a>, part one in the creation of a simple blogging system using PHP and MySQL.
</p>
<blockquote>
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.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/MySQL/Creating-a-Login-Script-for-a-PHPMySQL-Blogging-System/">start with a definition</a>, 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.
</p>]]></description>
      <pubDate>Tue, 03 Oct 2006 10:00:31 -0500</pubDate>
    </item>
  </channel>
</rss>
