In IE, go to :
File -> Save As -> Save
This will create a saved HTML page on your hard drive. Attach the saved page, and the resulting nessary images to an e-mail, and you're all set.
If you want to do it in php, for some reason.
<?php
function saveMe($pageContent){
$filePath = "Any Dir Path You Want";
if($temp = fopen($filePath, "w")){
fwrite($temp, $pageContent);
fclose($temp);
return true;
}
else{
return false;
}
}
?>
Peace,
-Alex