PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I want to create an application configuration file to set parameters for my application (such as database name, directories that contain files), then in my first php page read the config file. Does anyone know a good way to do this? I would like to format my config file in plain text or XML....
I do this, I have a config file. It's nothing fancy just a php file that sets constants and is then included. It is nice to have all site-specific params in one place.