/[cvs.andrew.net.au]/stock/admin/adduser.php
ViewVC logotype

Contents of /stock/admin/adduser.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Thu Mar 14 13:23:57 2002 UTC (21 years, 8 months ago) by apollock
Branch: MAIN, stock
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
Imported sources

1 <HTML>
2 <HEAD>
3 <TITLE>Stock Administration: Add a user</TITLE>
4 </HEAD>
5 <BODY bgcolor="white">
6 <?php include("../inc/util.inc");?>
7 <FORM method=post>
8 Username <INPUT type=text name=username size=16 maxlength=16><BR>
9 Password <INPUT type=text name=password size=16 maxlength=16><BR>
10 <INPUT type=submit name=submit value="Add user">
11 </FORM>
12 <?php if (!empty($username) && !empty($password)) {
13 if (AddUser($username, $password)) {
14 echo "User added\n";
15 } else {
16 echo "User not added\n";
17 }
18 } ?>
19 </BODY>
20 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.22