Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   Configurations (http://siteownersforums.com/showthread.php?t=52004)

ncjbhd 10-24-2011 08:45 PM

Configurations
 
Hi,

Is there a common place to store settings in PHP? If anyone has used ASP.NET, you'd know that projects come with a web.config file and this is where database connect strings are stored and other global application settings and its in XML format with some built in functions to get the data you need.

Should I just include a PHP file at the beggining of all my scripts and call constants from there?

Thanks


All times are GMT -7. The time now is 04:39 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.