...

View Full Version : stats access info



scroots
04-19-2003, 02:21 PM
what are the ways using php to get stat information such as browser type, IP address, redgion etc.
I'm not after some premade/downloadable code but just the way to access the data.


scroots

redhead
04-19-2003, 04:15 PM
hmmm... methinks...:

browser type: $_SERVER["HTTP_USER_AGENT"]
ip address: $_SERVER["REMOTE_ADDR"]
not sure about the others... i'd imagine www.php.net with all the other $_SERVER variables is a good bet...

scroots
04-19-2003, 05:52 PM
found them
http://www.php.net/manual/en/reserved.variables.php

there all in there somewhere.

scroots



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum