[17.07.2007 14:50] Dave Lyon wrote:
Wouldn't this work?header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$new_url);
Since PHP 4.3.0 that's one line: header('Location: ' . $uri, true, 301);
The advantage is, that you don't have to check, which HTTP version
the client uses.
nico
