Disregard above message. My server will not accept the above code, (getenv).
For all with the ip address not showing up - The following code will work:
Code:
{php}
$ip = $_SERVER['REMOTE_ADDR'];
echo "Your IP address is $ip logged for security reasons.";
{/php}