PHP COM development

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

PHP COM development

Post 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?
LetterJ
Forum Newbie
Posts: 8
Joined: Fri Nov 01, 2002 10:57 am
Location: St. Paul, MN

Registry

Post by LetterJ »

I use it to store a lot of stuff in the registry and pull it back in later.
JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

Post by JPlush76 »

what kind of things do you store in there and why?
LetterJ
Forum Newbie
Posts: 8
Joined: Fri Nov 01, 2002 10:57 am
Location: St. Paul, MN

Post 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.
User avatar
Sevengraff
Forum Contributor
Posts: 232
Joined: Thu Apr 25, 2002 9:34 pm
Location: California USA
Contact:

Post by Sevengraff »

Whats PHP COM?
Post Reply