Thread: Configurations
View Single Post
Old 10-24-2011, 08:45 PM   #1
ncjbhd
Registered User
 
Join Date: Jul 2011
Posts: 262
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
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ncjbhd is offline   Reply With Quote