Hello, > -----Urspr�ngliche Nachricht----- > Von: Gloss Mathias [mailto:Mathias.Gloss@;start.de] > > Aloha, > > > Connect with PHP+PEAR over ODBC with String ... > > $id = "$db_typ://$user:$pwd@db_host/$dsn"; ... > > DB Error: connect failed
$id = '$db_typ://$user:$pwd@db_host/$dsn'; DB Error: not found > > which format must having the String $id under Pear? and is database_name the name from the database or the System-DNS? System-DNS = museum database = museum1u > > > http://pear.php.net/manual/en/core.db.tut_dsn.php > ... the same is in PHP-Kochbuch S.610, i have not found the correct answer 8-( Does SAP-DB have a hidden switch? ;-) > I would suggest > $id = 'odbc://gast:gast@localhost/museum'; DB Error: connect failed > (i use the database layer from phplib, so i didnt test it > with pear::DB) Is PHPLIB developed further? > > Regards, Mathias > Regards and thanks, Wolfgang Glemnitz _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
