Comments on: Storing mySQL database settings for php and perl in one file https://hm2k.org/posts/storing-mysql-database-settings-for-php-and-perl-in-one-file Research and development Mon, 07 Apr 2008 20:45:40 +0000 hourly 1 https://wordpress.org/?v=5.5.1 By: hm2k https://hm2k.org/posts/storing-mysql-database-settings-for-php-and-perl-in-one-file/comment-page-1#comment-47871 Fri, 29 Feb 2008 12:57:13 +0000 http://www.hm2k.com/posts/storing-mysql-database-settings-for-php-and-perl-in-one-file#comment-47871 Using a plain text file would be similar to using an INI file.

For the purpose of wide spread usage, to avoid having to also impliment .htaccess on the database configuration file, the use of a .pl file would be the best approach.

However it doesn’t mean i’m not open to suggestion.

Thanks for the feedback.

]]>
By: SEO Ranter https://hm2k.org/posts/storing-mysql-database-settings-for-php-and-perl-in-one-file/comment-page-1#comment-47866 Fri, 29 Feb 2008 12:40:37 +0000 http://www.hm2k.com/posts/storing-mysql-database-settings-for-php-and-perl-in-one-file#comment-47866 How about using a simple text file containing the DSN? This is a standard format for DB connections, legible by PHP, Perl and most of their DB abstraction layers.

]]>