Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
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

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:12 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.