Reimplementation of cookies
diff --git a/admin/createtable.php b/admin/createtable.php
index 57e1802..b5b411f 100644
--- a/admin/createtable.php
+++ b/admin/createtable.php
@@ -26,5 +26,5 @@
 	)"];
 	
 	foreach ($queries as $query) if (!query($query)) die('An error ocurred. ' . $query);
-	die("<script>window.location.href = './index.php?dbname=$dbname'</script>");
+	die("<script>window.location.href = './?dbname=$dbname'</script>");
 ?>
diff --git a/admin/insert.php b/admin/insert.php
index 5099bc7..883ca8a 100644
--- a/admin/insert.php
+++ b/admin/insert.php
@@ -22,5 +22,5 @@
 		if (!query($template)) die("An error ocurred." . $template);
 	}
 	
-	die("<script>window.location.href = './index.php?successinserting'</script>");
+	die("<script>window.location.href = './?successinserting'</script>");
 ?>