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

    r7484 r7546  
    1010    }
    1111
    12     function PrintPage($html, $db, $limits, $rms)
     12    function PrintPage($html, $host, $user, $pw, $db, $limits, $rms)
    1313    {
    1414        if (empty($_GET["fTable"]))
     
    1919        }
    2020
    21         $db_id = mysql_connect("hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");
     21        $db_id = mysql_connect($host, $user, $pw);
    2222        if ($db_id==FALSE)
    2323        {
     
    6767        header("Content-Disposition: attachment; filename=query-result.txt");
    6868
    69         PrintPage("0", $db, $limits, $rms);
     69        PrintPage("0", $host, $user, $pw, $db, $limits, $rms);
    7070    }
    7171    else
     
    8080            printf("No query submitted yet.<BR>");
    8181        else
    82             PrintPage("1", $db, $limits, $rms);
     82            PrintPage("1", $host, $user, $pw, $db, $limits, $rms);
    8383
    8484        echo (file_get_contents("index-footer.html"));
Note: See TracChangeset for help on using the changeset viewer.