I need a simple script that will go through a text file and replace certain variables. The text files are actually [login to view URL] files that are used for oscommerce websites. Instead of having to go into each [login to view URL] text file and manually change the website address, database name, user name, etc. I would like something that can automatically replace these variables.
I want the ability to just put in the new values and not type in the old values to replace.
Sample file is attached.