Re: Reading registry values
| From: | Travis D | Date: | Wed, 01 Aug 2007 06:32:33 +0000 |
| Subject: | Re: Reading registry values | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259970@lists.php.net to get a copy of this message | ||
On 7/31/07, Crash Dummy <gmane@thedatalist.com> wrote:
>
> > Hope this isn't overkill but it is a module (read "COM", or "VBA
> module")
> > to manipulate the registry:
>
> "Overkill" is a massive understatement. :-)
No doubt.
To answer everyone's curiosity as to why I want to access the registry, I am
> working on my home computer with a dynamic IP, and I need to know what it
> is so
> I can modify my httpd.conf (or hosts) file, if necessary.
You might use http://www.php.net/reserved.variables
"SERVER_ADDR" to get the
address of the host you are running under if you wanted to access it from
PHP only.
Travis Doherty