Tag Archives: database

Restoring PDO functionality

A few years ago, while PHP 5 was still in a state of flux, a change was made to the way that PDO handles parameters bound to prepared statements. Somewhere between versions 5.2.0 and 5.2.1 a change was made that … Continue reading

Posted in Web development | Tagged , , , | Comments Off

I am the one and only

After previously explaining how to harden PDO I’m going to expand on the basic class I developed with the help of some design patterns. A large part of using design patterns lies in recognising the situations in which each one … Continue reading

Posted in Web development | Tagged , , , | Comments Off

Catching at source

If your application does not catch the exception thrown from the PDO constructor, the default action taken by the zend engine is to terminate the script and display a back trace. This back trace will likely reveal the full database … Continue reading

Posted in Web development | Tagged , , , | Comments Off