RE: [PHP] Reading registry values
| From: | Richard Lynch | Date: | Tue, 31 Jul 2007 05:19:54 +0000 |
| Subject: | RE: [PHP] Reading registry values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259864@lists.php.net to get a copy of this message | ||
On Mon, July 30, 2007 1:32 pm, 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'm pretty sure the original ASP script was reading the SERVER
registry...
Even ASP isn't *that* insecure!
:-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?