PHP Classes

Simple XML User System: Manage users storing their records in XML files

Recommend this page to a friend!
  Info   View files Example   View files View files (23)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 302 This week: 1All time: 7,393 This week: 560Up
Version License PHP version Categories
simple-user-system 1.1Free for non-comm...5XML, PHP 5, User Management
Description 

Author

This class can manage users storing their records in XML files.

It can perform several operations to manipulate user records that are stored in XML files.

Currently it can create a new user record, get, update and delete user records with a given identifier, show a login form and authenticate a user with a given password, etc..

Picture of Abhishek Shukla
  Performance   Level  
Name: Abhishek Shukla <contact>
Classes: 5 packages by
Country: India India
Age: ???
All time rank: 65740 in India India
Week rank: 109 Up9 in India India Up

Example

<?php

require_once("class.simpleusersystem.php");

session_start();

$login=New simple_usersystem();

$thisuser=$login->login_form();


$menu="<h3><a href=\"?\">Home</a> | <a href=\"?p=p2\">Page 2</a>
| <a href=\"?p=profile\">Profile</a> | <a href=\"?p=contact\">Contact</a>
| <a href=\"?logout=y\">Logout</a></h3>"
;



$home="<h2>Home Page</h2>
This is a test home page for Simple User System class by Abhishek Shukla.
<br/>"
;

$p2="<h2>Page 2</h2>This is a Page 2.";

$contact="<h2>Contact</h2>This is Contact Page.";

//homepage
   
$content=$home;
   
//other pages
if(isset($_GET['p'])) {
    switch(
$_GET['p']){
        Case
"p2";
       
$content=$p2;
        break;
   
        Case
"contact";
       
$content=$contact;
        break;
   
        Case
"profile";
       
$login->adminurl="?p=profile&";
       
$content=$login->user_profile($thisuser);
        break;
    }
}

$login->renderHTML($login->usertool.$menu.$content);


  Files folder image Files  
File Role Description
Files folder imageexample3 (5 files, 1 directory)
Files folder imageusers (2 files)
Plain text file class.simpleusersystem.php Class simpleusersystem
Accessible without login Plain text file example1.php Example Example One
Accessible without login Plain text file example2.php Example Example Two
Accessible without login Plain text file example3.php Example Example Three
Accessible without login Plain text file index.html Doc. Documentation

  Files folder image Files  /  example3  
File Role Description
Files folder imageimages (11 files)
  Accessible without login Plain text file contact.php Aux. example script
  Accessible without login Plain text file index.html Data prevents indexing of db folder
  Accessible without login Plain text file login.php Aux. Template script
  Accessible without login Plain text file style.css Data CSS
  Accessible without login Plain text file template.php Aux. Template script

  Files folder image Files  /  example3  /  images  
File Role Description
  Accessible without login Image file img01.gif Photo example script
  Accessible without login Image file img02.gif Photo example script
  Accessible without login Image file img03.gif Photo example script
  Accessible without login Image file img04.gif Photo example script
  Accessible without login Image file img05.gif Photo example script
  Accessible without login Image file img07.gif Photo example script
  Accessible without login Image file img08.gif Photo example script
  Accessible without login Image file img09.gif Photo example script
  Accessible without login Image file img10.gif Photo example script
  Accessible without login Image file img11.gif Photo example script
  Accessible without login Image file spacer.gif Photo example script

  Files folder image Files  /  users  
File Role Description
  Accessible without login Plain text file index.html Data prevents indexing of db folder
  Accessible without login Plain text file users.dat Data XML User Database

 Version Control Unique User Downloads Download Rankings  
 0%
Total:302
This week:1
All time:7,393
This week:560Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:182