So far i got, $ip = $_SERVER['REMOTE_ADDR']; < Visitors ip $brow = $_SERVER['HTTP_USER_AGENT']; < Visitors User agent/Browser $port = $_SERVER['REMOTE_PORT']; < Visitors Port $host = $_SERVER['REMOTE_HOST']; < VIsitors Host $lang = $_SERVER['HTTP_ACCEPT_LANGUAGE']; < Visitors browser language Are there any other nice information we can get about visitors from a php page?
try here: http://php.net/manual/en/reserved.variables.server.php Code (markup): You can also use javascript to get a load of browser info/capabilities and pass it back to your php (the stuff you'd see on Google Analytics) Si
I knew this link but i needed more explanation about the codes which can be used. Because for example i donno the difference between 'HTTP_HOST' and 'REMOTE_HOST" Therefor i can really understand everything on that page. I was asking for the information to be posted in a similar format i provided above on the first message. $ip = $_SERVER['REMOTE_ADDR']; < Visitors ip $brow = $_SERVER['HTTP_USER_AGENT']; < Visitors User agent/Browser $port = $_SERVER['REMOTE_PORT']; < Visitors Port $host = $_SERVER['REMOTE_HOST']; < VIsitors Host $lang = $_SERVER['HTTP_ACCEPT_LANGUAGE']; < Visitors browser language I am still a newbie about these so i need a clear and easy to understand explanation.
$url = $_SERVER['HTTP_REFERER']; < The URL from which the visitor comes from. For example, if the visitor clicks on yourdomain.com link on website example.com, then $url would be example.com $currenturl = $_SERVER['REQUEST_URI']; < Visitor's current URL in the browser