]> andersk Git - sql-web.git/blobdiff - test.php
first stab at 0.2
[sql-web.git] / test.php
index 7eb69e25242cc7dd7eea1e6d83b4fc866cb35494..bbea2a484a4a5e2b5a39555e1771228dc05c0c16 100755 (executable)
--- a/test.php
+++ b/test.php
@@ -1,3 +1,20 @@
 <?php
 
-echo base64_encode('b6808ded2');
+require_once('mitsql.cfg.php');
+require_once('mitsql.lib.php');
+
+/*
+include 'phpinfo.php';
+exit;
+*/
+
+$thisPath=pathinfo($_SERVER['SCRIPT_NAME']);
+
+session_set_cookie_params(0, $thisPath['dirname']);
+@session_start();
+
+if (isSess('i')) {
+    sess('i', sess('i')+1);
+} else {
+    echo sess('i', 1);
+}
This page took 0.171306 seconds and 4 git commands to generate.