General discussions related to php
1 post • Page 1 of 1
Learn how to use the filesystem commands. I think (off the top of my head) that file("yourfile") will return the contents in an array (one line per key value). What you want to do is cycle through all the values, change whatever you want, implode the array (using \n so it breaks it up into new lines) and then re-write it!