diff --git a/FAQ.php b/FAQ.php new file mode 100644 index 000000000..44a3de313 --- /dev/null +++ b/FAQ.php @@ -0,0 +1,28 @@ + diff --git a/books.php b/books.php new file mode 100644 index 000000000..2710409b8 --- /dev/null +++ b/books.php @@ -0,0 +1,422 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Books in English

+
PHP Pocket Reference
+by Rasmus Lerdorf
+ +O'Reilly & Associates, Jan 2000, ISBN 1-56592-769-9, 114 pages
+more info
+
+

+
Professional PHP Programming
+by Jesus Castagnetto, Harish Rawat, Sascha Schumann, Chris Scollo, Deepak Veliath
+ +Wrox Press Inc, Dec 1999, ISBN 1-86100-296-3, 909 pages
+more info
+
+

+
Core PHP Programming
+by Leon Atkinson
+ +Prentice Hall, April 1999, ISBN 0-13-020787-X, 568 pages
+more info
+
+

+
PHP3: Programming Browser-Based Applications
+by David Medinets
+ +MacGraw-Hill, 2000, ISBN 0-07-135342-9, 552 pages
+more info
+
+

+
Building Database Applications on the Web Using PHP3
+by Craig Hilton and Jeff Willis
+ +Addison-Wesley, Dec 1999, ISBN 0-2016-5771-6, 624 pages + + +

+
PHP Essentials
+A Better Way to Learn PHP - Includes Version 4
+by Julie C. Meloni
+ +Prima-Tech, March 2000, ISBN 0-7615-2729-X, 363 pages
+more info +
+
Other Languages

+
PHP - Dynamische Webauftritte professionell realisieren
+by Egon Schmid, Christian Cartus, Richard Blume
+in German, Markt&Technik, Nov 1999 [3. Druck], ISBN 3-8272-5524-4, 477 pages
+weitere Informationen
+

+
PHP - Dynamische websites professioneel ondersteunen
+by Egon Schmid, Christian Cartus en Richard Blume
+in Dutch, Addison Wesley Longman, 482 pages, ISBN 90-430-0140-6, April 2000
+
+

+
PHP - Grundlagen und Lösungen
+Webserver-Programmierung unter Windows und Linux
+by Jörg Krause
+in German
+weitere Informationen
+

+
PHP 4
+Webserver-Programmierung für Um- und Einsteiger
+by Thomas Theis
+in German
+weitere Informationen
+

+
Pages Web dynamiques avec ASP, PHP, SQL
+by Jean-Marc Herellier and Philippe Merigod
+in French
+more info
+

+
Programmation PHP
+by Leon Atkinson
+French translation of Leon Atkinson's book
+more info
+

+
Programmation Web avec PHP
+by Laurent Lacroix, Christophe Lauer, Nicolas Leprince, Christophe Boggero
+in French
+April 2000, ISBN 2-212-09113-3, 364 pages
+

+
+PHP tvorba interaktivnich internetovych aplikaci
+(PHP development interactive internet applications)
+by Jiri Kosek
+in Czech
+more info | +purchase +

+
+PHP Web-DB Programming Guide
+by Jung Jinho
+in Korean
+more info | +purchase +

+
+PHP Web Programming with ORACLE Database
+by Kim Sung-Sik
+in Korean
+more info | +purchase +

+
+CGI & PHP
+by Youn Sukbum
+in Korean
+more info + +

+
+PHP Bible
+by Wilson Peng
+in Traditional Chinese
+more info + +

+
+Using PHP and MySQL (with FreeBSD and Apache)
+by C.C.J.
+in Traditional Chinese
+more info +| purchase
+July 1999, ISBN 957-527-168-8 +

+
+Examples of PHP and MySQL
+by C.C.J.
+in Traditional Chinese
+more info +| purchase
+February 2000, ISBN 957-527-224-2 +

+
+PHP tettei kouryaku
+by Michihide Hotta, Tatsuo Ishii and Rui Hirokawa
+in Japanese, Sep/1999, ISBN 4-7973-0865-6

+
+PHP Guia de Consulta Rápida
+by Herbert G. Fischer
+in Portugese, Jan/2000, ISBN 8-5851-8469-8
+more info | purchase +
Related Reading

+
MySQL and mSQL (Nutshell Series)
+by Randy Jay Yarger, George Reese and Tim King
+

+
MySQL
+by Paul DuBois
+more info
+
+

+
Webmaster in a Nutshell (Nutshell Series)
+includes a large chapter on PHP written by Rasmus Lerdorf
+by Stephen Spainhour and Robert Eckstein
+more info
+
+

+
Open Source Development with CVS
+Learn how to work with Open Source Software
+by Karl Franz Fogel
+more info (and many free chapters)
+
+
+ +

+Click on the links above for more information on the books. And remember, if you +buy the book using the above links, you are helping to support PHP development! +

+ +

+There may be more books available that we don't know of yet! You can search +Amazon.com +for PHP related stuff by using this form: +

+ +
+ + + + + + + + + + +
Search what:
+
Search for:
+ +
+
+ + diff --git a/bugs-dos-and-donts.php b/bugs-dos-and-donts.php new file mode 100644 index 000000000..ff694c4fe --- /dev/null +++ b/bugs-dos-and-donts.php @@ -0,0 +1,18 @@ + + + + + diff --git a/bugs-generating-backtrace.php b/bugs-generating-backtrace.php new file mode 100644 index 000000000..a657b9c2c --- /dev/null +++ b/bugs-generating-backtrace.php @@ -0,0 +1,63 @@ + + + +

Noticing PHP crashes

+ +There's no absolute way to know that PHP is crashing, but there may be signs. Typically, +if you access a page that is always supposed to generate output (has a leading HTML +block, for example), and suddenly get "Document contains no data" from netscape, it +may mean that PHP crashes somewhere along the execution of the script. Another way +to tell that PHP is crashing is by looking at the Apache error logs, and looking for +SEGV (Apache 1.2) or Segmentation Fault (Apache 1.3). + +

If you don't have a core file yet:

+ + + +

Once you have the core file:

+ + + +

If you can't get a core file:

+ + +This should generate a backtrace, that you should submit in the bug report, along with any other +details you can give us about your setup, and offending script. + + diff --git a/bugs-php3.php b/bugs-php3.php new file mode 100644 index 000000000..5cf0719af --- /dev/null +++ b/bugs-php3.php @@ -0,0 +1,654 @@ +\n"; +$destination = "php-dev@lists.php.net"; +#$destination = "rasmus@lerdorf.on.ca"; + +function indent($string, $prefix) { + $string = ereg_replace(13, "", $string); /* get rid of Ctrl-M */ + return $prefix . ereg_replace("\n", "\n$prefix", $string) . "\n"; +} + +function wrap($text,$margin=72) { + $i=0; + $last_space=0; + $printfrom=0; + $len=strlen($text); + $line_len=0; + while($i<$len) { + if($text[$i]==chr(32) || $text[$i]==chr(7)) { + $last_space=$i; + $line_len++; + } else + if($text[$i]==chr(10) || $text[$i]==chr(13)) { + $line_len=0; + } else { + $line_len++; + } + if($line_len>$margin) { + if($last_space==0 || $last_space<$printfrom) { + echo substr($text,$printfrom,$margin); + echo "\n"; + $printfrom+=$margin+1; + } else { + echo substr($text,$printfrom,$last_space-$printfrom); + echo "\n"; + $printfrom=$last_space+1; + } + $line_len=0; + } + $i++; + } + echo substr($text,$printfrom); +} + +function show_state_options($state, $show_all, $user_mode=0) { + if ($state) { echo "