Page 1 of 1
PHP COM development
Posted: Fri Dec 13, 2002 11:31 am
by JPlush76
Anyone out there do any COM development? I'm trying to pick a new php tool to add to my belt and I'd like to see what you guys are doing with it in the real world.
Anyone know any really good uses for it?
Registry
Posted: Fri Dec 13, 2002 3:17 pm
by LetterJ
I use it to store a lot of stuff in the registry and pull it back in later.
Posted: Fri Dec 13, 2002 3:23 pm
by JPlush76
what kind of things do you store in there and why?
Posted: Fri Dec 13, 2002 3:34 pm
by LetterJ
Mostly paths to directories, usernames and passwords, etc. That includes the absolute path to the script's location.
The project I use it in is Sokkit (formerly PHPTriad). Since the use can decide where to install Sokkit, and scripts need to know where they are in the Windows file system in order to do things like include() properly, I needed a central place to keep things. And, since the files themselves can end up pretty much anywhere, the registry has them in the same place every time. If you write a module for Sokkit, you can find the path to php modules for runtime loading, the path to your own script, etc. all from the registry.
Posted: Fri Dec 13, 2002 9:38 pm
by Sevengraff
Whats PHP COM?