old-www/tldp-redirect.php

32 lines
1.2 KiB
PHP

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>The Linux Documentation Project is now on tldp.org</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#AAAAAA" link="#003355" alink="#003355" vlink="#003355">
<p>
<table cellpadding=0 cellspacing=0 border=0 width="100%">
<tr><td bgcolor="red">
<table cellpadding=6 cellspacing=2 border=0 width="100%">
<tr bgcolor="#f0f0f0">
<td valign="top" align="left">
<font face="sans-serif,helvetica,arial">
<i>Note:</i>&nbsp;&nbsp;<b>
You are trying to access The Linux Documentation Project website
using an old (and unsupported) URL. Please update your bookmarks to use
<a href="http://www.tldp.org">www.tldp.org</a> or
<a href="http://en.tldp.org">en.tldp.org</a> (if you just need the
English documentation). Click to go directly to the page you
requested:
<?
#$url = $SERVER['PHP_SELF'];
if ($url != "" && strpos($url, "/") !== 0) {
$url = "/" . $url;
}
echo "<a href=\"http://en.tldp.org$url\">http://en.tldp.org$url</a>";
echo "</font></b></td></tr></table>\n</td></tr></table>\n</p>\n</body></html>\n";
$s = readfile("./index.html");
echo $s[0];
?>