dbConnector, XML_Structor and db.xml sample
| From: | Robert Kelly | Date: | Thu, 01 Mar 2001 21:54:28 +0000 |
| Subject: | dbConnector, XML_Structor and db.xml sample | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1539@lists.php.net to get a copy of this message | ||
For those of us who have many databases to connect to.
dbConnector.php creates an XML_Structor object which
parses a file. Developers pass which database name they
are seeking to the dbConnector constructor and receive
all the connection-relevant data and a DSN.
db.xml (sample file) should be in a very secure place, of
course.
<<db.xml>> <<dbConnector.php>> <<Structor.php>>
<<dbcon.php>>
-Bob Kelly
-rkelly@insight.com
Attachment: [application/octet-stream] db.xml
Attachment: [application/octet-stream] dbConnector.php
Attachment: [application/octet-stream] Structor.php
Attachment: [application/octet-stream] dbcon.php
Attachment: [application/octet-stream] db.xml
Attachment: [application/octet-stream] dbConnector.php
Attachment: [application/octet-stream] Structor.php
Attachment: [application/octet-stream] dbcon.php