Re: [Fwd: [PHP] Re: [PHP-PEAR] adding frontbase driver to DB abstraction class]
| From: | Stig S. Bakken | Date: | Wed, 13 Sep 2000 09:11:32 +0000 |
| Subject: | Re: [Fwd: [PHP] Re: [PHP-PEAR] adding frontbase driver to DB abstraction class] | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-254@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
>
> "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?
I don't know. I'll ask on php-db.
- Stig