Samuel ROZE wrote:
> It's a good idea.
>
> - PDO::NOTICES_FETCH -> PDO::NOTICES_ENABLED
> - PDO::NOTICES_NONE -> PDO::NOTICES_DISABLED
>
> That's better ?
That works.
> I see that you are from the Oracle team. Can you explain me how oracle
> works to raise notices like PostgreSQL ? Or can you
It's a good idea.
- PDO::NOTICES_FETCH -> PDO::NOTICES_ENABLED
- PDO::NOTICES_NONE -> PDO::NOTICES_DISABLED
That's better ?
I see that you are from the Oracle team. Can you explain me how oracle
works to raise notices like PostgreSQL ? Or can you build a proof of
concept to get notices from Ora
Samuel ROZE wrote:
Hi,
I've make a patch which insert notices concepts to PDO. It create:
- PDO::noticeInfo() - to be like errorInfo
- PDO::ATTR_LOG_NOTICES, the name of the PDO parameter
- PDO::NOTICES_FETCH - fetch notices
I initially took "FETCH" to mean it was related to a query;
There's an example, using PostgreSQL driver:
PDO::NOTICES_FETCH
));
var_dump($sql);
echo "getAttribute: ";
var_dump($sql->getAttribute(PDO::ATTR_LOG_NOTICES));
echo 'Notices: '; var_dump($sql->noticeInfo());
$q1 = $sql->query('CREATE OR REPL
Hi,
I've make a patch which insert notices concepts to PDO. It create:
- PDO::noticeInfo() - to be like errorInfo
- PDO::ATTR_LOG_NOTICES, the name of the PDO parameter
- PDO::NOTICES_FETCH - fetch notices
- PDO::NOTICES_NONE - don't fetch notices
The notices HashTable is emptied
Hi,
Jani closed the following bug report:
#49785 htmlspecialchars() should check byte sequence more strictly
http://bugs.php.net/bug.php?id=49785
But I think that his reaction isn't good. Does he understand this
problem truly? This is a SECURITY PROBLEM.
Some Japanese experts in security disc