New question, Dygear, why did you use the curly braces { around that variable?
<?php
$mailbody .= "IP Address " . $_SERVER['REMOTE_ADDR'] . "\n";
?>
<?php
$mailbody .="IP Address $_SERVER['REMOTE_ADDR']\n";
?>
:q (exit)
:q! (forced exit, don't prompt about changes)
:x (exit and save changes)
:x! (forced exit and save changes, read-only files etc)
:qa(!)
:xa(!)
Last 2 as above, but will perform the same on all open files, exclamation optional