[web-doc] master: Add index for archives
| From: | Jim Winstead | Date: | Thu, 24 Oct 2024 21:54:01 +0000 |
| Subject: | [web-doc] master: Add index for archives | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2533@lists.php.net to get a copy of this message | ||
Author: Jim Winstead (jimwins)
Date: 2024-10-24T14:50:38-07:00
Commit: https://github.com/php/web-doc/commit/feadad840aeb6ef68e1ce7fe36ff443771a5c3bb
Raw diff: https://github.com/php/web-doc/commit/feadad840aeb6ef68e1ce7fe36ff443771a5c3bb.diff
Add index for archives
Changed paths:
A www/archives/index.php
D www/archives/.htaccess
Diff:
diff --git a/www/archives/.htaccess b/www/archives/.htaccess
deleted file mode 100644
index bd5867a..0000000
--- a/www/archives/.htaccess
+++ /dev/null
@@ -1,2 +0,0 @@
-RewriteEngine Off
-Options +Indexes
\ No newline at end of file
diff --git a/www/archives/index.php b/www/archives/index.php
new file mode 100644
index 0000000..86b1966
--- /dev/null
+++ b/www/archives/index.php
@@ -0,0 +1,35 @@
+<?php
+include_once __DIR__ . '/../../include/init.inc.php';
+
+site_header();
+?>
+
+<h1>PHP Manual Archives</h1>
+
+<p>
+ Please remember that these documentation versions should not be used
+ in everyday development, unless you are maintaining applications written
+ to those specific version. These manuals lack many topics connected with
+ newer PHP versions, are not updated anymore, and these versions of PHP
+ are no longer receiving any security or other updates.
+</p>
+
+<h2>PHP 5 Documentation</h2>
+
+<ul>
+ <li><a href="php5/php_manual_en.html.gz">Single HTML file</a>
+ <li><a href="php5/php_manual_en.tar.gz">Many HTML files (tar.gz)</a>
+ <li><a href="php5/php_manual_en.chm">HTML Help file</a>
+</ul>
+
+<h2>PHP 4 Documentation</h2>
+
+<ul>
+ <li><a href="php4/bigxhtml.tar.gz">Single HTML file (tar.gz)</a>
+ <li><a href="php4/chunked-xhtml.tar.gz">Many HTML files (tar.gz)</a>
+ <li><a href="php4/chm.tar.gz">HTML Help file (tar.gz)</a>
+</ul>
+
+<?php
+$sidebar = nav_languages();
+echo site_footer($sidebar);