Re: adding frontbase driver to DB abstraction class

From: Date: Tue, 12 Sep 2000 21:35:26 +0000
Subject: Re: adding frontbase driver to DB abstraction class
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-16443@lists.php.net to get a copy of this message
"Stig S. Bakken" wrote: > > On Tue, 12 Sep 2000, Monte Ohrt wrote: > > | Hi, > | > | I'd like to add a frontbase driver to the database abstraction class. > | The frontbase function syntax is almost exactly like mysql, so copying > | mysql.php to frontbase.php and search & replace mysql with fbsql will > | mostly do the trick. However, frontbase has the capability of putting a > | password on the database itself as well as a password for each user. How > | would this be accomodated? > | > | > | Maybe an optional password could be appended to the database name like > | so: > | > | phptype(dbsyntax)://username:password@protocol+hostspec/database:dbpassword > | > | > | see http://www.frontbase.com, the php drivers are on the > download page. > > This syntax is ok as long as no databases let you have ":" in a database > name? > Well, it looks like the assumption has already been made that usernames cannot contain semicolons, so would database names follow suit?

« previous php.general (#16443) next »