Hello!
I need some work done on a PHP script which modifies entries in a text file by either removing or replacing the "#" character in front of the entry. Basically, the interface is a very simple web page with radio buttons "enable" and "disable". The "enable" button removes the "#" character from in front of the line (in a Postfix configuration file) and the "disable" option places the "#" character in front of the line.
This is a script which has been working perfectly when only used to modify one single entry in the text file in question but now I need it to modify 4 in total and as I'm not a PHP coder I can't seem to work out how to get this to happen. I'm sure that it's probably a fairly simple job for anyone who has a reasonable amount of experience with PHP and probably won't take much more than a couple of hours at most. The system it is hosted on is FreeBSD with Apache/1.3.29 and PHP/4.3.10.
Ok, looking forward to some feedback on this!
Thanks!
Kevin