Re: adding frontbase driver to DB abstraction class
| From: | Stig S. Bakken | Date: | Tue, 12 Sep 2000 21:06:15 +0000 |
| Subject: | Re: adding frontbase driver to DB abstraction class | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-250@lists.php.net to get a copy of this message | ||
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?
- Stig