変数のみを含む config.php というファイルがあります。
<?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
これはコード全体の短い部分です。
そして、フォームからの新しいデータで変数を変更し、このファイルを保存するphpスクリプトを作成したいと思います。
それを行う最良の方法はどれですか?ありがとう!