Re: Reading registry values
| From: | Stut | Date: | Mon, 30 Jul 2007 18:39:38 +0000 |
| Subject: | Re: Reading registry values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259825@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
[snip] 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? [/snip] PHP is server-side and cannot read client side info. You would need to use something client-side, like JavaScript. JavaScript cannot read the registry either. It's a security thing.I think you'll find the OP means on the server-side, which is kinda obvious when you consider the fact the OP already has an ASP app that does this. "Crash": The COM extension (http://php.net/com) should let you do that in essentially the same way ASP does. -Stut -- http://stut.net/