View Single Post
Old 12-04-2005, 10:00 PM   #1
RSS News Bot
Join Date: Nov 2005
Posts: 1,840
Post Cyberlot's Blog: Using scalability to improve your PHP applications MySQL security Part 2

cyberlot has posted the second part in his "Using scalability to improve your PHP applications MySQL security" series today on his blog.

In this edition, he gives an example of extending PDO to use two seperate database connections.

Here is a quick example I threw together to extend PDO so you can use 2 seperate database connections.

This extends PDO and only connects to the database when the first query is run. This way if you never use the database connection no time is wasted trying to connect.

It's a pretty simple script, and even those that haven't gotten to mess much... [ read the rest ]

Read the full article on PHPDeveloper - Posted on 04/12/05
RSSBot is offline   Reply With Quote