Subscribe via RSS

XML Based User Manager

Self contained in one class, and fully customizable

April 28th, 2008 last updated April 28th, 2008
Posted in: PHP, Scripts, XML

A few years ago, I wrote on the whiteboard above my desk 'Build a login script'. It sat there in the corner, along with a few other ideas, some have since been completed, some have been long forgotten. As I said in my last entry, I just learned how to work with XML, and what I learned inspired me to finally upgrade my Simple User Authentication script to work with multiple users. I've done more than just extend the script however - I have created a fully functional, fully independent user authentication class. Include it, load the XML file, and you're good to go.

I'm really proud of this script, it's customizable for almost any use you can imagine, and except from some slight modifications which I'll roll out in the future is a fully efficient abstraction from the XML. Developers who use this class can store whatever information they need to store for their application, and can give users different permission levels further limit and control what access users have.

I feel really stupid, there's very little else for me to say about this script without just reiterating the extensive documentation that can be found in the script's readme file. It's a lot to read, and a fair amount of moderately convoluted code to go through, but I would greatly appreciate it if anyone would take the time to look through it. I am sure it could find use in countless applications, and is built in such a fashion as to integrate into any website as simply as possible.

If you have any comments or thoughts regarding this script, or either of the other two authentication scripts I've written (Page Locking and Simple Authentication) please leave them here.

New Comment

Your email address will never be displayed or shared. Your comment will appear once approved.