phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


PHP Login: Creating Login System Use PhpSecureSite (Introduction)

Tag: login, secure, phpsecuresite   Category:
post: 05 Jan 2008 read: 3,117


PHP Login System Tutorial: Do You feel begginer? Or Don't have time to write login system line code? But you want to create your self web? Don't worry! There is a class that will help us to create login system. This class named PhpSecureSite. You can apply it easy in your web.

About phpsecuresite, I rewrite this from their manual.

phpSecureSite is an authentication and session-handling system for PHP. It is primarily intended for use in closed web-applications, where a user is required to enter a username and password to enter the site. It is made to be fully integrated with the web application, which mean that you will have to code a frontend (such as login screen etc) for it yourself.

To understand what a session handling system is, we need to take a look at how the web-server sees the world. The HTTP protocol, whick is the language that your computer and the web-server uses to communicate, is a so-called stateless protocol. What this means is that when the web server gets a request for a page it simply returns that page, no questions asked. It does no know, nor does it care, whick user a request comes from. A session handling system determines whick use makes a reques, so that the page returned to the client can be dynamically built for that user.

The most basic use of phpSecureSite is obviously to protect access to an application or a set of web-pages, but you can also do a lot more with it. It comes with a set of modules which provides functionality such as session variables (whick letsyou store a piece of data for a session, and retrievethat data in any page), access control list (for setting which users/groups should be allowed access to specific page) and much more.

This class you can download at ftp://oss.codepoet.no/phpsecuresite/phpsecuresite-0.1.2.tar.bz2. Next post, we will talk about preparing use this class.



Series this article:
PHP Login: Creating Login System Use PhpSecureSite (Introduction)
PHP Login: Installation of phpSecureSite
PHP Login: Configuration of phpSecureSite
PHP Login: Create Example Administrator at phpSecureSite
PHP Login:Creating Login Form Use phpSecureSite
PHP Login: Protecting Page Use phpSecureSite
PHP Login: Creating Logout from phpSecureSite

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Joomla: Fast Road to Understand Component Programming
Chart: How to Build Cool Animation Real Time Chart
Email: Send Attachement Mail
SMS : Sending SMS with PHP and ActiveXperts (Part 1)

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


624
posting