I use a custom CMS in PHP and I need to let admin user to save a global configuration option for his website.
I would like to store this value into a file. Avoiding to save it into mysql DB, so I don't need to do an extra query on every page load.
What is the best way to store this option from a form into a file? I need to reload my saved setting so it can be edited with my form