Don't like ads? PRO users don't see any ads ;-)
Guest

My 404 Page

By: loper324 on Feb 10th, 2013  |  syntax: PHP  |  size: 0.79 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php ob_start()?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <?php
  6. header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
  7. ?>
  8. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  9. <meta name="robots" content="noindex, nocache">
  10. <title>404 - ERROR</title>
  11. </head>
  12. <body>
  13. <h2>Object not found!</h2>
  14. <div>
  15. The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
  16. <br/>
  17. If you think this is a server error, please post in the bugs forum, <strong> Please include the last page you were on if its on our site AND THE URL YOU USED!!</strong><br/>
  18. <img height="200" width="200" src="404.png" alt="404"/>
  19. </div>
  20. <br/>
  21. <br/>
  22. <br/>
  23. <div>
  24. Debug info:
  25. <?php echo $_SERVER['HTTP_USER_AGENT'] ?>
  26. </div>
  27. </body>
  28. </html>
  29. <?php ob_flush()?>