I don't think php is running as CGI. I was just using the instructions at this page
which might be slightly out of date.
Yeah and viewing source after taking out the bang line got this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
Did I just send the email a few times? Oops...