if you have the cracked version of civ 4 then all you need to do is open the world builder during gameplay ( ctrl+ w )and then you can modify everything within the game units, city improvements, tile improvements etc. to up your cash all you need to do is select each city in turn and increase their cash value.

With the 3.1.7 trainer if you build a wonder some of your other cities will give you 10000 for supposedly not being able to finish the wonder. I usually have around 1,000,000 by the end of turn 10 without doing anything other than having the trainer running.