Fullscreen
[Show/Hide Right Column]

Show user's browser and server information

Plugin Agentinfo

This plugin can display the following about the visitor viewing the page:
  • IP address,
  • Browser information,
  • Web server's software info.

Usage

Syntax for this plugin
{AGENTINFO(info=>IP or SVRSW or BROWSER)} {AGENTINFO}


Parameter Accepted values Default Effect Required? Since
info IP|BROWSER|SVRSW (only one and it must be capitalized) IP Display's the visitor's IP address (IP or default), browser information (BROWSER), or server software (SVRSW). y

Examples

This code,

Examples using default and all three parameter choices
__Default (IP address):__ {AGENTINFO()}{AGENTINFO}

__IP address:__ {AGENTINFO(info=>IP)}{AGENTINFO}

__Browser:__ {AGENTINFO(info=>BROWSER)}{AGENTINFO}

__Server software:__ {AGENTINFO(info=>SVRSW)}{AGENTINFO}


arrow-right.png
Would produce on this site:

Default (IP address): 38.107.179.244

IP address: 38.107.179.244

Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)

Server software: Apache




Contributors to this page: lindon5651 points  , dthacker1481 points  , Xavi64542 points  and Marc Laporte8171 points  .
Page last modified on Saturday 05 February, 2011 04:13:04 UTC by lindon5651 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki