I have two PHP files, modify.php & config.php, I have the below code in config.php and I'm wondering how I would go about searching config.php from modify.php and changing the values in config.php?
Should I be using something like file_get_conten ts() or is there an easier way?
config.php
Should I be using something like file_get_conten ts() or is there an easier way?
config.php
Code:
<?php ##################### ##################### //WARNING: DON'T CHANGE BELOW HERE //Database details $host = ''; $username = ''; $pass = '' $prefix = ''; ?>
Comment