Ignore:
Timestamp:
02/28/06 20:23:38 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/queryrbk.php

    r7484 r7546  
    3232    }
    3333
    34     function PrintPage($html, $db)
     34    function PrintPage($html, $host, $user, $pw, $db)
    3535    {
    36         $db_id = mysql_connect("hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");
     36        $db_id = mysql_connect($host, $user, $pw);
    3737        if ($db_id==FALSE)
    3838        {
     
    8989        header("Content-Disposition: attachment; filename=query-result.txt");
    9090
    91         PrintPage("0", $db);
     91        PrintPage("0", $host, $user, $pw, $db);
    9292    }
    9393    else
     
    102102            printf("No query submitted yet.<BR>");
    103103        else
    104             PrintPage("1", $db);
     104            PrintPage("1", $host, $user, $pw, $db);
    105105
    106106        echo (file_get_contents("index-footer.html"));
Note: See TracChangeset for help on using the changeset viewer.