I have a file called config.php that contains only variables.
<?php
//General
$domain = "http://www.nine9gag.com"; //Write the url of your website. EX: http://www.nine9gag.com
$waitMsg = "Wait..."; //The message between 2 images.
$buttonText = "Next Image"; //Default: Next Image
This is a short piece from entire code.
And i want to create a php script that change the variables with fresh data from a form and save this file.
Wich is the best way to do it? Thanks!