1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Files
archived-web-php/docs.php
Gabor Hojtsy 04a46eba44 Funny thing, that php.net not changes with our speed.
This was not needed, but with the CVS update look
it is needed again :) You were right Jim!
2001-03-08 21:34:03 +00:00

148 lines
4.0 KiB
PHP

<?php
require_once 'prepend.inc';
$SIDEBAR_DATA='
<b>FAQ</b>
<p>
The <a href="/FAQ.php">PHP FAQ</a> is your first stop for general
information and those questions that seem to be on most people\'s minds.
</p>
<b>Books</b>
<p>
<a href="/books.php">Books</a> are convenient resources to begin exploring
PHP. <a href="/books.php">The titles listed here</a> will help you to start
learning PHP, as well as extending your existing knowledge.
</p>
<b>Sample Code</b>
<p>
Looking for some more sample PHP scripts? Our <A
HREF="/links.php">links page</A> page lists some archives of sample PHP code -
great places to find many example scripts and useful functions, organized for
your searching pleasure!
</p>
';
commonHeader("Documentation");
$languages = array(
"en" => "English",
"pt_BR" => "Brazilian Portuguese",
"cs" => "Czech",
"nl" => "Dutch",
"fr" => "French",
"de" => "German",
"hu" => "Hungarian",
"it" => "Italian",
"ja" => "Japanese",
"kr" => "Korean",
"es" => "Spanish"
);
$formats = array(
"" => array("View Online", "view"),
"html/" => array("View Online (plain)", "view"),
"bigmanual.html.gz" => array("Single HTML", "html.gz"),
"manual_doc.pdb" => array("PalmPilot DOC", "doc.pdb"),
"manual_isilo.pdb" => array("PalmPilot iSilo", "isilo.pdb"),
"manual.pdf" => array("PDF", "pdf"),
"manual.txt.gz" => array("Plain text", "txt.gz"),
"manual.tar.gz" => array("Many HTML files", "tar.gz"),
"manual.zip" => array("Many HTML files", "zip"),
"manual.chm" => array("Windows HTML Help", "chm")
);
?>
<h1>PHP Manual</h1>
<p>The PHP manual is available in a selection of languages
and formats. Pick a language and format from the table below:
</p>
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr bgcolor="#cccccc">
<td></td>
<?php
while (list($k,$v) = each($formats)) {
echo "<th valign=\"bottom\">$v[0]</th>\n";
}?>
</tr>
<?php
while (list($langcode,$language) = each($languages)) {
echo "<tr>\n<td bgcolor=\"#dddddd\"><b>$language</b></td>\n";
reset($formats);
while (list($fn,$details) = each($formats)) {
echo "<td align=\"center\" bgcolor=\"#eeeeee\">";
# temporary hack until pdf are auto-generated
if ($fn == "manual.pdf") {
echo "<a href=\"http://snaps.php.net/~jah/pdf/manual-$langcode.pdf\">$details[1]</a></td>";
continue;
}
# temporary hack until chm are auto-generated
if ($fn == "manual.chm") {
echo "<a href=\"distributions/manual_$langcode.chm\">$details[1]</a></td>";
continue;
}
$size = @filesize("manual/$langcode/$fn");
if ($size) {
echo "<a href=\"manual/$langcode/$fn\">$details[1]</a>";
}
else {
echo "&nbsp;";
}
echo "</td>\n";
}
}?>
</table>
<? echo hdelim(); ?>
<H1>PHP Annotated Manuals</H1>
<ul>
<LI><A href="http://www.php.net/manual/">PHP Annotated Manual</A>. This
is the same as the above, except there is a built-in errata/note system
that users all around the world can (and have!) contributed to. Of
all of the documentation, this will be the most current version,
as it is updated (and annotated) daily.
<LI><A href="http://www.php.net/manual/browse-errata.php">PHP Manual
Errata</A>. This is the collected errata from the on-line errata/note
system.
</ul>
<? echo hdelim(); ?>
<h1>More Information</h1>
<ul>
<li><a href="http://zugeschaut-und-mitgebaut.de/php/">PHP Function Table</a>.
This page has a overview about which pages are translated to the
different languages and in which versions of PHP the functions
are available.
<li>License questions? See the <a href="/license/#FAQ">License FAQ</a></li>
</ul>
<? echo hdelim(); ?>
<H1>CVS Account</H1>
<ul>
<li><a href="/anoncvs.php">CVS instructions</a></li>
<li><A href="/cvs-php.php">Getting a CVS account</a>. If you wish to help out
with the development of PHP, read this.
</ul>
<? echo hdelim(); ?>
<h1>Old/Unsupported Information</h1>
<ul>
<li><a href="/manual/phpfi2.php">PHP/FI 2.0 Manual</a>.
</ul>
<?php commonFooter("") ?>