: Stephen answered your question spot on, but another observation regarding your example code that you linked to, that you might want to remove these lines in your PHP code: <?php header($_SERVER["SERVER_PROTOCOL"]."
Stephen answered your question spot on, but another observation regarding your example code that you linked to, that you might want to remove these lines in your PHP code:
<?php
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
?>
Your web server already responded with 404 when this document would be used and you're just providing a nicer to read error document. There is no need for this document to add a response header indicating 404 error like you did, when it would already be included in a server's response following a request for non-existent location/document.
More posts by @Eichhorn148
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.