Modify FastCGI server to use MySQL for auth
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / users / admin_upload_users.php
1 <?php
2
3 require_once("models/config.php");
4 if (!securePage($_SERVER['PHP_SELF'])){die();}
5
6 require_once("models/header.php");
7 createPage("User Upload");
8
9
10 if (!empty($_POST))
11 {
12   echo "<p> Uploaded! </p>";
13 }
14 else
15 {
16   echo "<p> Please provide a CSV file of usernames and email addresses. </p>
17   <div class=\"title\">Upload</div>
18   <form name='newUser' action='".$_SERVER['PHP_SELF']."' method='post'>
19   <input type=\"file\" name=\"users\"/>
20   <input type=\"submit\" value=\"Upload\"/>
21   </form>";
22 }
23   
24 ?> 
25

UCC git Repository :: git.ucc.asn.au