Login   Register  
PHP Classes
elePHPant
Icontem

File: cUser.example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tim M  >  cUser  >  cUser.example.php  >  Download  
File: cUser.example.php
Role: Example script
Content type: text/plain
Description: Small example - Certainly not showing everything you can with it! http://www.tv2knet.net uses the class
Class: cUser
User management and authentication system
Author: By
Last change:
Date: 2003-08-30 14:26
Size: 413 bytes
 

Contents

Class file image Download
<?
require_once("cUser.class.php");
$usernamex $_GET[usernamex];
$passwordx $_GET[passwordx];
$logout $_GET[logout];

$cUser = new cUser("config.cfg.php","myhost.tld");


if (
$passwordx != "")
{
echo 
"Login in!: ".$cUser->Login($usernamex,$passwordx);

}else if (
$logout != "1")
{
    echo 
"Logged in?" $cUser->CheckUser();
}else{
    echo 
"Login Out! ".$cUser->Logout();
    
}

?>