Login   Register  
PHP Classes
elePHPant
Icontem

File: adduser2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marius  >  dbFile  >  adduser2.php  >  Download  
File: adduser2.php
Role: Application script
Content type: text/plain
Description: adduser2.php
Class: dbFile
file based web database and Administrator
Author: By
Last change:
Date: 2004-04-19 04:31
Size: 590 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
    <title>Add new user to database <?php print("$DB"); ?></title>
        <link rel="stylesheet" href="settings.css" type="text/css">
</head>

<body>
<center>
<br><br><br><br>
<?php
include("common.inc");

$dbf->select_db($DB);

if((
$uname == "") or ($pass == "")){
    print(
"Please enter a username and password <a href=\"javascript: history.back();\">back</a>");    
    die();    
}

$dbf->make_user($uname,$pass);

print(
"New user has been added succesfully!");

?>
</center>


</body>
</html>