[pmwiki-users] Show users IP

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 15 10:38:37 CST 2007


On Thu, Feb 15, 2007 at 06:34:47PM +0200, Mark Trumpold wrote:
> G'day All
> 
> If you go to http://politics.wikia.com/index.php?title=Main_Page
> You'll notice that it says hi 12.12.12.34.
> 
> Does someone know how to show that in the side bar.

Use the following to add a {$RemoteAddr} page variable:

    $FmtPV['$RemoteAddr'] = '$_SERVER["REMOTE_ADDR"]';

Pm



More information about the pmwiki-users mailing list