Forum Moderators: coopster
I'm trying to mimic a valid apache reponse from php.
I use modrewrite to send everything to one php script then the first few
lines are:
header("HTTP/1.1 200 OK");
foreach (apache_request_headers() as $key => $value)
{
header("$key: $value");
}
//Wed, 15 Nov 1995 04:58:08 GMT
$mtime=time();
$lm=gmdate('D, d M Y H:i:s', $mtime-3600) . ' GMT';
header("Last-Modified: $lm");
I then go on to server some html.
I'm really flying blind here anyone got any thoughts?