<? # ------------------------------------------------------------ # Dateiname: $Source: /home/swpool/WagnerTech/AnSys/src/zahlein/impl/ZahleinBdg.php,v $ # Version: $Revision: 1.5 $ # Datum geaendert: $Date: 2007/03/02 17:25:25 $ # Autor: $Author: michael $ # ------------------------------------------------------------ global $myIncludePath; echo "myIncludePath = $myIncludePath"; #$include_path = $myIncludePath; $include_path="/home/michael/WagnerTech/AnSys/src/zahlein:/home/michael/WagnerTech/VPlan/src"; require_once("/home/michael/WagnerTech/VPlan/src/db/impl/mysql_func.php"); class ZahleinBdg{ function init() { echo ">ZahleinBdg::init\n"; $MySQL_Host="horn"; $MySQL_User="michael"; $MySQL_Passw="Horn"; global $db; $db="cv_db1"; echo "otto1\n"; echo "otto2\n"; if (! @$cc=mysql_connect("$MySQL_Host","$MySQL_User","$MySQL_Passw")) { echo "Die Verbindung zu ",$MySQL_Host," konnte nicht hergestellt werden<br>\n"; echo "otto3\n"; echo "otto4\n"; exit; } echo "otto5\n"; echo "otto6\n"; } function send_sql( $sql ) { Resource::trace( ">ZahleinBdg::send_sql" ); Resource::trace( "SQL = $sql" ); global $db; return send_sql( $db, $sql ); } } ?>