]> andersk Git - sql-web.git/blobdiff - test.php
Fix CSRF vulnerabilities
[sql-web.git] / test.php
index 16150f4d1ea62651232272762dc4d53495e2986e..1dc08ab8c1b8671707300c1312fceea369a82f3e 100755 (executable)
--- a/test.php
+++ b/test.php
@@ -1,9 +1,12 @@
 <?php
+/*
+       (c) 2005 Joe Presbrey
+*/
 
 require_once('mitsql.cfg.php');
 require_once('mitsql.lib.php');
 
-include 'tpl/head.php';
+//include 'tpl/head.php';
 
 function getManagedDBs($owner=null) {
        $databases = array_keys(fetchRows(DBSelect('SELECT Name FROM DB WHERE bEnabled=1'),'Name'));
@@ -42,5 +45,7 @@ printMsgs(array('this is a test msg: test 1', 'this is a test msg: test 2'));
 printErrors(array('this is a test error: test 0'));
 printErrors(array('this is a test error: test 1', 'this is a test error: test 2'));
 
-include 'tpl/foot.php';
+print_r(getUsernameID('presbrey'));
+
+//include 'tpl/foot.php';
 ?>
This page took 0.029169 seconds and 4 git commands to generate.