Re: Reading registry values
| From: | tg-php at gryffyndevelopment dot com | Date: | Mon, 30 Jul 2007 18:40:52 +0000 |
| Subject: | Re: Reading registry values | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-259826@lists.php.net to get a copy of this message | ||
I'm not sure that there's actually anything you'd need to access in the server
registry (and certainly no registry in Linux if you're also transitioning from Windows to
Linux). And depending on what the ActiveX control your ASP pages accessed actually does, it may be
better to recreate it in PHP instead of trying to access ActiveX via PHP.
What, exactly, is being pulled from the registry and if the ActiveX control does more than just
facilitate registry access, what else does it do that you'd need to emulate?
I have a feeeling that you don't need to worry about these things after you transition to PHP
and Apache.
More info please? :)
-TG
= = = Original message = = =
I want to convert some ASP pages to PHP to go along with a transition from IIS
to Apache. One of the ASP script functions involves reading data from the
Windows registry. How does one read from the registry with PHP?
Also, is it possible to use ActiveX objects with PHP? The above mentioned script
uses a third party control to facilitate the registry operations. The VBScript
code looks like this:
Set objRegistry = CreateObject("RegObj.Registry")
Is there a PHP equivalent?
This newbie thanks you.
--
Crash
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.