
<p>Now, when the page does exist, it is loaded, including the header and
footer, and displayed to the user. If the page doesn’t exist, a “404
Page not found” error is shown.</p>
<p>The first line in this method checks whether the page actually exists.
PHP’s native <code class="docutils literal"><span class="pre">file_exists()</span></code> function is used to check whether the file
is where it’s expected to be. <code class="docutils literal"><span class="pre">show_404()</span></code> is a built-i