A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Waterfall_Cache has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 47

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 194

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Memcache_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 275

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Filesystem_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 440

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; APC_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 628

File DSN's

File DSN's

By ServerWatch Staff (Send Email)
Posted Jan 25, 1999


by Bob Dombroski

Have you ever had the need to set up a new Database, but dont have the rights to set up a system DSN? You could set up a connection string in a application variable, but on any change you would need to cycle the server(and if you dont have rights to set up a system DSN, you probably wont have rights to cycle the server). How about setting up a file DSN? Its quick, painless and can be easily changed.

Have you ever had the need to set up a new Database, but dont have the rights to set up a system DSN?

The best part of using a file dsn, you can create an entire new application on a local machine accessing a local database, then move it to a remote server and install the database right from your local machine without involving an administrator. This can save the developer valuable time.

The working examples of my articles on hit counters and database based forms both use file DSN's for connecting to a database.

Page 1 of 3


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.


 

 


Thanks for your registration, follow us on our social networks to keep up-to-date