Re: roles in the Pear DSN
| From: | Wolfram Kriesing | Date: | Fri, 01 Feb 2002 16:17:32 +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-4329@lists.php.net to get a copy of this message | ||
> > the way you have done it, you need to be sure to never use a
> > parameter-name which is already a key in the dsn array, is that
> > not dangerous??
>
> Why?
if i pass a url like
db-type://user1:myPassword@localhost/dbname?username=x&password=y
then it would overwrite the already set values "user1:myPassword"
with "x:y"
or am i mistaken? or is it sure that this will never be the case?
--
Wolfram