I have a document file containing HTML markup. I want to assign the contents of the entire file to a PHP variable.
I have this line of code:
$body = in
Try using PHP's file_get_contents() function.
file_get_contents()
See more here: http://php.net/manual/en/function.file-get-contents.php