Skip to content

Instantly share code, notes, and snippets.

@anandkunal
Created April 28, 2011 16:03
Show Gist options
  • Select an option

  • Save anandkunal/946646 to your computer and use it in GitHub Desktop.

Select an option

Save anandkunal/946646 to your computer and use it in GitHub Desktop.
seppuku.php
<?
function seppuku() {
header("HTTP/1.1 500 Internal Server Error");
ob_clean();
}
register_shutdown_function("seppuku");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment