Hi guys

I need a little help. I am working on a project for a friend. The program works like this. There is a text file that looks like this:

Code:
1234 = ABCD
The user loads a php file in the program. The program searches the php file for terms that are on the left right of the equals sign. If it finds one then it is replaced with the term on the left side.

Any help would be appreciated.