ASPit - Totally ASP

Go Back PHPit Forums > News > PHP News
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
Thread Tools Search this Thread Display Modes
Old 12-04-2005, 10:00 PM #1
RSSBot
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
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:55 PM.


Powered by vBulletin Version 3.6.0
Copyright 2000 - 2006, Jelsoft Enterprises Ltd.