how to view client registery values using php script (1 Viewer)

tony007

Registered User.
Local time
Yesterday, 23:36
Joined
Jun 30, 2005
Messages
53
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
 

spacepro

Registered User.
Local time
Today, 07:36
Joined
Jan 13, 2003
Messages
715
Hi,

You don't need to use the registry etc. things like browser and IP are done through cookies and/or sessions. The most popular ones are in PHP such as:

REMOTE ADDR
HTTP USER AGENT
REMOTE HOST

These are just some variables used to retrieve the values, then you can document.write or echo them where ever you want them to show on your page.

I have attached a sample which was knocked together for someone who wanted to be emailed every time a user went to a specific page.(new visitors etc).

Have a look at the code and play with. If you want the email change it to your email address and see the output.

Do a search on google on the above and look at the code.

Good Luck.

Andy
 

Attachments

  • visitor.zip
    515 bytes · Views: 238

Users who are viewing this thread

Top Bottom