* Allow the session proxy to time out after 15 minutes.
[citadel.git] / ctdlphp / do_login.php
1 <?PHP
2         include "ctdlheader.php";
3         bbs_page_header();
4
5
6         if ($_POST["action"] == "Login") {
7                 list($retval, $msg) =
8                         login_existing_user($_POST["user"], $_POST["pass"]);
9                         echo $msg, "<BR>\n";
10         }
11         if ($_POST["action"] == "New User") {
12                 list($retval, $msg) =
13                         create_new_user($_POST["user"], $_POST["pass"]);
14                         echo $msg, "<BR>\n";
15         }
16         else {
17                 echo "uuuuhhhhhhhh....<BR>\n";
18         }
19
20 ?>
21
22
23 <a href="page2.php">Page Two</a><BR>
24 <a href="page3.php">Page Three</a><BR>
25
26 <?PHP
27         bbs_page_footer();
28 ?>
29