How can I import a variable from an external file? What I want to do is to have a configuration file in which I can write all my website settings and then to import these settings to every file, so I can set the website skin and things like that.
How can I do this?
Look at this :
http://php.net/manual/en/function.parse-ini-file.php
you’ll be happy 🙂