Scenario:
I have an index.php file that fetches text files from other domains. Inevitably, servers will have down time and so the external text file may not be available.
I was wondering if there's a way so that rather than outputting the default error associated with a broken include, if there was a way to check for the broken link, and if true... use a local txt file instead.