Jump to content

Can i use php to edit .cfg files?


the_oliver

Recommended Posts

Hello,
Is there a way that i can create a php form to reed in data from a .cfg file, prefrably on a diffrent server, thats not in the web directory, and then alow the data to be altered and saved back into the file?

The file would have an area looking as follows.

[quote]#
define service{
        host_name                    Changable by form     
        is_volatile                        Changable by form
        check_period                    Changable by form
        }[/quote]

Also could i use php to create or remove these files?

Thanks
Link to comment
https://forums.phpfreaks.com/topic/25753-can-i-use-php-to-edit-cfg-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.