Changeset 7546 for trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
- Timestamp:
- 02/28/06 20:23:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
r7484 r7546 32 32 } 33 33 34 function PrintPage($html, $ db)34 function PrintPage($html, $host, $user, $pw, $db) 35 35 { 36 $db_id = mysql_connect( "hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");36 $db_id = mysql_connect($host, $user, $pw); 37 37 if ($db_id==FALSE) 38 38 { … … 89 89 header("Content-Disposition: attachment; filename=query-result.txt"); 90 90 91 PrintPage("0", $ db);91 PrintPage("0", $host, $user, $pw, $db); 92 92 } 93 93 else … … 102 102 printf("No query submitted yet.<BR>"); 103 103 else 104 PrintPage("1", $ db);104 PrintPage("1", $host, $user, $pw, $db); 105 105 106 106 echo (file_get_contents("index-footer.html"));
Note:
See TracChangeset
for help on using the changeset viewer.