I am trying to find a way to stream output to a variable. Basically I have a file that mostly an html document (it does have one or two php tags) that I want to include, but I don't want it outputted, I want it put into a variable.
There's [man]file_get_contents/man, and even fread() can be used here.
if you want to capture the parsed output then you should look at the Output Control Functions