That warning does not stop your script from running. However, you could suppress it either via the "@" operator or by changing the display_errors setting and/or error_reporting level, then checking if the result of the file_get_contents() to see if it's false, and do your own error-handling as desired.