Index: trunk/MagicSoft/Mars/datacenter/db/printtable.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/printtable.php	(revision 7484)
+++ trunk/MagicSoft/Mars/datacenter/db/printtable.php	(revision 7546)
@@ -10,5 +10,5 @@
     }
 
-    function PrintPage($html, $db, $limits, $rms)
+    function PrintPage($html, $host, $user, $pw, $db, $limits, $rms)
     {
         if (empty($_GET["fTable"]))
@@ -19,5 +19,5 @@
         }
 
-        $db_id = mysql_connect("hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");
+        $db_id = mysql_connect($host, $user, $pw);
         if ($db_id==FALSE)
         {
@@ -67,5 +67,5 @@
         header("Content-Disposition: attachment; filename=query-result.txt");
 
-        PrintPage("0", $db, $limits, $rms);
+        PrintPage("0", $host, $user, $pw, $db, $limits, $rms);
     }
     else
@@ -80,5 +80,5 @@
             printf("No query submitted yet.<BR>");
         else
-            PrintPage("1", $db, $limits, $rms);
+            PrintPage("1", $host, $user, $pw, $db, $limits, $rms);
 
         echo (file_get_contents("index-footer.html"));
