php load php file output into variable code example Example: get html file data to variable in php $Vdata = file_get_contents('path/to/YOUR/FILE.php');