| |||||||||||
| |||||||||||
Simple page password protection - PHP
So many demonstrations are too clever - the wood gets lost for the trees and the newcomer is left not knowing what the important bits are. So a request overnight for a REAL simple way of password protecting some content based on a single password that can be changed [in the code] from time to time provided me with an opportunity to provide a new training example and to fill in the gap in really easy examples.
There's a script here and when you first call it up, you're asked for a password. Enter "abc123" and the same URL will give you back the protected content. If you want to see the source, look here. Is it a thorough script? NO! You need to log in each and every time. Single password only. No facility for changing password without altering the page. No way to register or get password reminders .... but you don't always want a thorough script with all these bells and whistles, do you? (written 2007-10-04 08:16:44) Associated topics are indexed under H112 - PHP - Further Web Page and Network Handling
Some other Articles
Monitoring mod_jk and how it is load balancingFirst Great Western - information for customers Using a MySQL database to control mod_rewrite via PHP Static variables in PHP Simple page password protection - PHP Etag in http headers - what is it? Load Balancing with Apache mod_jk (httpd/Tomcat) Choosing between mod_proxy and mod_rewrite Python v Ruby Maidenhead Coffee Challenge 1637 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||