Sounds like a job for a database... As stated above your success depends on what you are trying to do... If you are doing simple operations and calculations, then consider storing / manipulating a database, so that way you can isolate the dependencies...
----
Zak
Pluralitas non est ponenda sine neccesitate - mysql'sphilosphy