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/sources.php

    r7484 r7546  
    8787    }
    8888
    89     function PrintPage($html, $db, $alias, $rightalign)
     89    function PrintPage($html, $host, $user, $pw, $db, $alias, $rightalign)
    9090    {
    91         $db_id = mysql_connect("hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");
     91        $db_id = mysql_connect($host, $user, $pw);
    9292        if ($db_id==FALSE)
    9393        {
     
    128128        header("Content-Disposition: attachment; filename=query-result.txt");
    129129
    130         PrintPage("0", $db, $alias, $rightalign);
     130        PrintPage("0", $host, $user, $pw, $db, $alias, $rightalign);
    131131    }
    132132    else
     
    142142            printf("No query submitted yet.<BR>");
    143143        else
    144             PrintPage("1", $db, $alias, $rightalign);
     144            PrintPage("1", $host, $user, $pw, $db, $alias, $rightalign);
    145145
    146146        echo (file_get_contents("index-footer.html"));
Note: See TracChangeset for help on using the changeset viewer.