PCCS MySQLDatabase Admin Tool version 1.3.4


/ -> mysqldb_create_webuser.php

1  <?php
2  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
3  // coder: Chauncey Thorn
4  // email: cthorn
5  /************************************************************************
6  PCCS MySQLDatabase Admin Tool
7  Copyright (C) Chauncey Thorn
8 
9  This program is free software; you can redistribute it and/or
10  modify it under the terms of the GNU General Public License
11  as published by the Free Software Foundation; either version 2
12  of the License, or (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA , USA.
22  **************************************************************************/
23  // We don't need anyone passing args to this script
24 
25  if($HTTP_SERVER_VARS["argc"] != 0) // If someone is trying to pass an argument
26  Header("Location: $PHP_SELF"); // Then reload the page argument-free
27    
28  require('mysqldb_app_includes.php');
29 
30 
31     common_header($str_mainTitle);
32     pageTop("PCCS MySQLAdmin Tool: CREATE WEBUSER ACCOUNT","600");
33 
34  $link_array = array(
35  "$str_mainMenu" => "./",
36  "$str_dbusers" => "mysqldb_newuser.php",
37  "$str_grant_revoke" => "mysqldb_gr_perms.php",
38  "LOGOUT" => "logout.php"
39  );
40 
41   print "<BR>";
42   print "<CENTER>";
43   navBar($link_array);
44   print "</CENTER>";
45   print "<BR>";
46 
47 
48  ?>
49 
50 
51  <FORM ACTION="mysqldb_process_webuser.php" METHOD=POST>
52  <INPUT TYPE=HIDDEN NAME=password VALUE="">
53  <INPUT TYPE=HIDDEN NAME=user VALUE="root">
54  <p><center>
55 
56 
57 
58  <P>
59 
60  <table border=1 cellspacing=1 width=535><tr><td colspan=2 bgcolor=#000080><font
61  color=#ffffff><b>Create Web Account and php scripts:</b></font></td></tr></table>
62 
63  <table border=0 cellspacing=3 width=535>
64  <tr><td colspan=2 bgcolor=#bbbbbb align=right>USER: <INPUT TYPE=text NAME=userid value=""></td>
65  <td colspan=2 bgcolor=#bbbbbb align=right>PASS: <input type=password name=pw1></td></tr>
66  <tr><td colspan=2 bgcolor=#bbbbbb align=right>HOST: <INPUT TYPE=TEXT NAME=host VALUE="localhost"></td>
67  <td colspan=2 bgcolor=#bbbbbb align=right>CONFIRM: <input type=password name=pw2></td></tr>
68  <tr><td colspan=2 bgcolor=#bbbbbb align=right>DB: <INPUT TYPE=text
69  NAME=webdatabase value=""></td>
70  <td colspan=2 bgcolor=#bbbbbb align=right>EMAIL: <INPUT TYPE=text NAME=useremail value=""></td</tr>
71  </table>
72 
73  <P>
74 
75 
76 
77  <table border=1 cellspacing=1 width=535><tr><td colspan=2 bgcolor=#000080><font
78  color=#ffffff><b>Default User Setup: The following scripts will be created for this
79  user</b></font></td></tr></table>
80 
81  <table border=0 cellspacing=3 width=535>
82  <tr><td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>DB include:</td><td width=5%><input type=checkbox name=db_include value=Y checked></td></tr></table></td>
83      <td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>App
84      Include:</td><td width=5%><input type=checkbox name=app_include value=Y checked></td></tr></table></td></tr>
85  <tr><td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>FeedBack
86  Form:</td><td width=5%><input type=checkbox name=feedback_form value=Y checked></td></tr></table></td>
87      <td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Text
88      Counter:</td><td width=5%><input type=checkbox name=text_counter value=Y checked></td></tr></table></td></tr>
89  <tr><td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Web File
90  Mgr:</td><td width=5%><input type=checkbox name=webfilemgr value=Y checked></td></tr></table></td>
91      <td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Backup
92      Script:</td><td width=5%><input type=checkbox name=backupscript value=Y checked></td></tr></table></td></tr>
93  </table>
94  <P>
95  <table border=1 cellspacing=1 width=535><tr><td colspan=2 bgcolor=#000080><font
96  color=#ffffff><b>Install One of these PHP Scripts:</b></font></td></tr></table>
97 
98  <table border=0 cellspacing=3 width=535>
99  <tr><td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>News
100  System:</td><td width=5%><input type=checkbox name=news_system value=Y ></td></tr></table></td>
101      <td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Random
102      Script:</td><td width=5%><input type=checkbox name=random_script value=Y ></td></tr></table></td></tr>
103   
104  <tr><td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Redirect
105  Script:</td><td width=5%><input type=checkbox name=redirectscript value=Y ></td></tr></table></td>
106      <td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Referer
107      Script:</td><td width=5%><input type=checkbox name=refererscript value=Y ></td></tr></table></td></tr>
108  <tr><td colspan=2 bgcolor=#bbbbbb><table border=0 cellspacing=0><tr><td>Auth
109  Script:</td><td width=5%><input type=checkbox name=authcript == "Y"):
110   value=Y ></td></tr></table></td>
111      <td colspan=2 bgcolor=#bbbbbb><table border=0
112      cellspacing=0><tr><td>Message of the Day Script</td><td width=5%><input
113      type=checkbox name=motdscript == "Y"):
114   value=Y ></td></tr></table></td></tr>
115 
116  </table>
117 
118  <P>
119  <table border=1 cellspacing=0 width=535><tr><td>
120  <input type=submit value="SUBMIT THE INFORMATION ABOUT THIS WEB ACCOUNT NOW" width=535 color=#ffffff>
121  </td></tr></table>
122  <A HREF=./>Main Menu</a>
123  </center></form>
124  <hr width=535>
125 
126  <?php
127  pageBottom();
128  footer();
129  ?>


Generated: Sat Jan 27 15:40:36 2001 Generated by PHPXref 0.1.2
PCCS-Linux.COM ::ource Advocate Articles catalogue
2000 2002