/    Sign up×
Community /Pin to ProfileBookmark

how to view client registery values using php script

Hi all. i want to make a php script that can read certian client registery values but i do not know how to write it. I be happy if an expert show me how.i think it could be done because i have seen html pages that show what version of windows and what browser ect… and i assume that they got this from the registry.Thanks

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogMar 29.2006 — No, they're getting those values from HTTP headers the browser sent to the web host. You cannot read the Windows registry from a script on a web host (or if you can, you've found an huge, gaping security hole!). Try this in a .php page, to see some of the info that may be available (I say "may", because not all values are required to be sent by the browser so may not always be there):
[code=php]
<?php
header("Content-type: text/plain");
print_r($_SERVER);
?>
[/code]
×

Success!

Help @method spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...