I\'m getting the following error message:
Warning: file_get_contents(http://localhost/sample_pie.php) [function.file-get-contents]: failed to open str
The error means that PHP is not able to open http://localhost/sample_pie.php to read the contents of the file. See if you are able to open the http://localhost/sample_pie.php file in browser.
Also is the page very large?