Why does file_get_contents not work for me? In the test file code below, it seems that everyone\'s examples that I\'ve searched for all have this func
file_get_contents
If it is a local file, you have to wrap it in htmlspecialchars like so:
$myfile = htmlspecialchars(file_get_contents($file_name));
Then it works