Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 4c8430af15
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.37 kB
<?php
require_once 'HTTP/Header.php';
$h = &new HTTP_Header;
$s = 200;
foreach ($_GET as $header => $value) {
if (!strcasecmp('redirect', $header)) {
HTTP_Header::redirect($value);
}
if (strcasecmp('status', $header)) {
$h->setHeader($header, $value);
} else {
$s = $value;
}
}
$h->sendHeaders();
$h->sendStatusCode($s);
?>
Jump to Line
Something went wrong with that request. Please try again.