« Earlier 1 items total Later »

On this page: 

Implement Error 447

There's a humorous pseudo-RFC which establishes HTTP Error 447 as "dropped in Pacific Ocean". Here's some PHP to implement it, if you'd like. Sends the right header, and even looks like a standard Apache 2 error page.

<?php

header("HTTP/1.1 447 Dropped by Accident in the Pacific Ocean");
print("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>");
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Dropped in Ocean!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rev="made" href="mailto:[email protected]" />
<style type="text/css">
<!--
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
-->
</style>
</head>

<body>
<h1>Dropped in Ocean!</h1>
<dl>

<dd>


    The requested item was accidentally dropped in
    the Pacific Ocean while being transmitted to your
    computer, and cannot be displayed.

  

</dd></dl><dl><dd>
If you think this is a server error, please contact
the <a href="mailto:[email protected]">webmaster</a>.

</dd></dl>

<h2>Error 447</h2>
<dl>
<dd>
<address>

  <a href="/">example.com</a>
  <br />
  
  <small><?php $date = date("D d M Y h:i:s A T");
print("$date"); ?></small>
  <br />
  <small>Apache/2.0.40 (Red Hat Linux)</small>
</address>
</dd>
</dl>
</body>

</html>

« Earlier 1 items total Later »