Source for file books.php
Documentation is available at books.php
+----------------------------------------------------------------------+
| PEAR Web site version 1.0 |
+----------------------------------------------------------------------+
| Copyright (c) 2006 The PEAR Group |
+----------------------------------------------------------------------+
| This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.php.net/license/2_02.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
$Id: books.php,v 1.6 2007/12/29 00:11:33 dufuz Exp $
response_header ("Support - Books");
array ("title" => "The PEAR Installer Manifesto",
"authors" => array ("Gregory Beaver"),
"pearuser" => array ("cellog"),
"url" => "http://www.packtpub.com/PEAR-Installer/book",
"publisher" => "Packt Publishing",
"image" => '1904811191.png'
array ("title" => "PHP Programming with PEAR",
"authors" => array ("Stoyan Stefanov", "Stephan Schmidt", "Aaron Wormus", "Carsten Lucke"),
"pearuser" => array ("stoyan", "schst", "wormus", "luckec"),
"url" => "http://www.packtpub.com/pear/book",
"publisher" => "Packt Publishing",
"authors" => array ("Carsten Möhrke"),
"url" => "http://www.galileocomputing.de/katalog/buecher/titel/gp/titelID-891",
"publisher" => "Galileo Computing"
array ("title" => "Foundations of PEAR: Rapid PHP Development",
"authors" => array ("Nathan A. Good", "Allan Kent"),
"url" => "http://apress.com/book/bookDisplay.html?bID=10181",
"image" => "foundations-of-pear.gif"
<h2>» <a name="books" id="books">Books</a></h2>
<p>The following is a list of books that have been written about PEAR.
There are a lot more PHP books that describe some PEAR packages.
You can search for them at <a href="http://www.amazon.com/exec/obidos/external-search?mode=books&keyword=PHP">
<table class="form-holder" cellpadding="5" cellspacing="1">
foreach ($books as $book) {
echo " <td rowspan=\"4\" class=\"form-input\">\n";
if (isset ($book['image'])) {
echo " <img src=\"/gifs/books/" . $book['image'] . "\" alt=\"Cover image for " . $book['title'] . "\" />\n";
echo " <img src=\"/gifs/blank.gif\" width=\"50\" height=\"100\" alt=\"\" />\n";
echo " <td colspan=\"2\" valign=\"top\" class=\"form-input\">\n";
echo " <strong><a href=\"" . $book['url'] . "\">\n";
echo " " . $book['title'];
echo " <td class=\"form-input\">Written by:</td>\n";
for ($i = 0; $i < count($book['authors']); $i++ ) {
if (!empty ($book['pearuser'][$i])) {
$authors[] = " <a href=\"/user/" . $book['pearuser'][$i] . "\">" . $book['authors'][$i] . "</a>";
$authors[] = $book['authors'][$i];
echo " <td class=\"form-input\">" . join(array_splice($authors, 0 , $size - 1 ), ", ") . " and " . $authors[0 ] . "</td>\n";;
echo " <td class=\"form-input\">" . $authors[0 ] . "</td>\n";
echo " <td class=\"form-input\">Publisher:</td>\n";
echo " <td class=\"form-input\">" . $book['publisher'] . "</td>\n";
echo " <td class=\"form-input\">ISBN:</td>\n";
echo " <td class=\"form-input\">" . $book['isbn'] . "</td>\n";
echo "<tr><td colspan=\"2\"> </td></tr>\n";
<p>Are you an author or publisher of one of the above books? No image?
Let <a href="mailto: <?php echo PEAR_WEBMASTER_EMAIL; ?>">us know</a>
if we are allowed to use an image of your book's cover page
here. Is your book missing? Then tell us about it, too.</p>
<p><a href="/support/">« Back to the Support overview</a></p>
Documentation generated on Mon, 11 Mar 2019 15:14:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|