Hi,
On Fri, 2009-10-09 at 15:21 +0200, Samuel ROZE wrote:
> I wanted to change a parameter in my PDO class, with the fourth
> PDO::_construct arg. But, I've many projects, which uses PDO, with one
> "new PDO" per project. The problem is that I have to change the source
> of every projects...
>
>
And I still have to modifiy my source. ;-)
In fact I'm using a personnaly Database class using PDO for add
execution times and array/string transformations. Actually, I just
wanted to know why there isn't any pdo propreties in the php.ini file.
Pierre replied.
Thanks !
Samuel.
2009/10/9 Olivier
Hi
There isn't because nobody developed that or because it is contradicted ?
here we extends the PDO class to configure it like we want.
For example :
class ourPDO
{
public function __construct( $dsn, $user = NULL, $password = NULL,
$options = NULL )
{
$defaultOptions = array(
It isn't. :-)
Thanks.
2009/10/9 Pierre Joye :
> hi,
>
> The general consensus is to do not add new ini settings unless it is
> absolutely necessary. It is not the case for your example as it is
> cleary an application configuration problem (user land configuration).
>
> Cheers,
> --
> Pierre
>
> O
hi,
The general consensus is to do not add new ini settings unless it is
absolutely necessary. It is not the case for your example as it is
cleary an application configuration problem (user land configuration).
Cheers,
--
Pierre
On Fri, Oct 9, 2009 at 3:21 PM, Samuel ROZE wrote:
> Hi,
>
> I wan