Re: adding frontbase driver to DB abstraction class
| From: | Stig S. Bakken | Date: | Fri, 15 Sep 2000 07:50:19 +0000 |
| Subject: | Re: adding frontbase driver to DB abstraction class | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-257@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?
Okay, we need to find another character for this, at least ODBC seems to
allow data source names with colons in them. What about a percent sign?
- Stig