Re: roles in the Pear DSN
| From: | Wolfram Kriesing | Date: | Fri, 01 Feb 2002 11:37:46 +0000 |
| Subject: | Re: roles in the Pear DSN | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4322@lists.php.net to get a copy of this message | ||
> I guess that the "role" option in connect it's only supported by
> Interbase. Perhaps it's a good time to implement the "special
> backend options" we were discussing time ago. Remember Stig?:
>
> ibase://user:pass@localhost/database?role=foo&dialect=bar
to extend parseDsn feel free to simply copy the code from the method
"parseDSN" in
http://www.kriesing.de/showsource.php?domain=wolfram.kriesing.de&file=/libs/php/Auth.php
i had already done it for my auth class, since i allow parameters to
be passed
--
Wolfram