In this article Martin explains how to create a secure PHP login script that will allow safe authentication. Features remember-me function using cookies, validates logins on each request to prevent session stealing.
How Does This Work
This is a short explanation why I have chosen these authentication methods.
Users with shell access to the web server can [...]
If you just wanted to change your own password or other user passwords use passwd command.
I was asked to setup a PHP based interface to change the password. Since my knowledge of php is limited. Here is what I did:
Required tools/setup:
You must have following tools/software installed
=> Shell script to change password
=> Sudo access
=> Apache [...]
Continue reading about Change Linux or UNIX system password using PHP script
In this 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.
The file for the login [...]
Continue reading about Creating a Login Script for a PHP/MySQL Blogging System
A downloadable file for this article can be found here.
The administration area can only be accessed by users with a administration level access. The admin area will consist of only one page, where all actions are going to be performed. The navigation panel will be on the right and the rest of the page will [...]
Continue reading about Creating the Admin Script for a PHP/MySQL Blogging System
A downloadable file for this article is available here
IntroductionIntegrating the login script with the blog should not be a problem for you. In fact all it needs to do is send a user through, if his or her login is valid, and then log the user out. The blog will have a MySQL backend that will store [...]
Continue reading about Creating the Blog Script for a PHP/MySQL Blogging System
