Re: [PECL-DEV] Proposing MySQLnd Userland Handler
[email protected] (David Soria Parra)
| Newsgroups | php.pecl.dev |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06.08.2010 23:59, Hannes Magnusson wrote: > On Fri, Aug 6, 2010 at 21:11, David Soria Parra <[email protected]> wrote: >> Hi DevML, >> >> I would like to propose the pecl extension "MySQLnd Userland Handler" (mysqlnd_uh). >> The plugin let you hook a mysqli connection if you use mysqlnd and install a userland proxy class >> for every call. This allows you to write SQL monitoring tools in PHP Userland. It works with PHP 5.3.0 >> and a first version will be marked as 0.1.0 alpha. > Unless I'm missing something, this could be easily implemented in > userland.. As this ext seems to only support mysqli, the same thing > could be accomplished by simply extending the MySQLI* classes, and > overwriting the methods you would want to proxy.. doesn't work as a transparent proxy. - -D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJMXK8sAAoJEAT0aMuPE7Z16kEP/16YAqmnAiJ6oWWHs2TWFift NVfvRvPyQTq4AGXpsnaHbNB8qpqZg1gUZu2Sri/kWyEqw2vCD//xS/vlE5X7Ve5I 9E8b+l+hYySl9PRTav+sKMqstEnbD8SY7lt+UDoSISOhPdMygZLKNMHAu0cwTK42 rmWF2jK9Z11NxuZb3FZzNdYrohtg4SSXEM2ucr9R84Im+A2ZUgaRL8CzEe1AWaYV BuICDRKxQLio+gpEV/pcoeXZkVmfYf3t88V+nmBHzdRYw1uzSUUoyfJADaaZ7AgO tGHxGuRHTBDTjGte0y20ZGuoj8709J3DaipY7N2t1JRne3Z3zKdXft8yvxW9Lqlg S1uJLG1/IMeoDXXFD0Bk+Q495elkvM1oWOpY3jVBPdT5Be+x3U5VyHYGE7X+3OCr wyrI3h+z6HY30bUDSykMZv3gCNLJKP/UknCgXi0S++w5IstKQkHAdDPijfcYczmj 6dPshypeAm9MfoV1BtcQ46GYeXaEtoHw4lFggXLyG+XqMHn8E4lGWlgqp8diz5Te XxI8wWD8FXt9FKqgM6sUPYkG+mbTj6aGyTFiYsue+xPeNEXmiDQYryKSNLjUitge mkpQ+ezwsmAt2tJ3Zq3ufLeabAFeS2I3T7UXIeqY3G0VxRV/NVGHaSU5Bi7Bu5KZ hqBebsG//YjZOADN3xcT =tuzd -----END PGP SIGNATURE-----