PHP编程(第三版,影印版)
Kevin Tatroe, Peter MacIntyre, Rasmus Lerdorf
出版时间:2013年10月
页数:514
“……PHP容易上手,而且你几乎可以用它做任何事情。在当今世界,你并不需要任何计算机科学方面的学位就能够实现一些举足轻重的事情。你只需要一些像这样的书籍,一些与你相伴的社区,一点点忘我的精神和一些力气活,你就能够创建出一个全新的工具。”
——Michael Bourque
PTC公司的副总裁,Boston PHP用户组的组织者

本修订版本将为你讲解在使用PHP 5.x最新特性创建高效web应用时所需要知道的一切内容。你将首先有个初步的印象,然后通过一些正确用法和常见错误的演示来深入了解语言的语法、编程技巧和其他细节。
如果你熟悉HTML,本书作者的诸多风格提示和实践编程建议将可以帮助你成为一名顶尖PHP程序员。

· 概览PHP程序的能力
· 学习语言基础内容,包括数据类型、变量、操作符和流程控制语句
· 理解函数、字符串、数组和对象
· 运用常见的web应用技术,比如表单处理、数据校验、会话跟踪和Cookie
· 与MySQL这样的关系数据库或者MongoDB这样的NoSQL数据库交互
· 生成动态图像,创建PDF文件和分析XML文件
· 学习安全脚本、错误处理、性能调优和其他高级主题
· PHP核心函数和标准扩展的快速参考
  1. Chapter 1: Introduction to PHP
  2. What Does PHP Do?
  3. A Brief History of PHP
  4. Installing PHP
  5. A Walk Through PHP
  6. Chapter 2: Language Basics
  7. Lexical Structure
  8. Data Types
  9. Variables
  10. Expressions and Operators
  11. Flow-Control Statements
  12. Including Code
  13. Embedding PHP in Web Pages
  14. Chapter 3: Functions
  15. Calling a Function
  16. Defining a Function
  17. Variable Scope
  18. Function Parameters
  19. Return Values
  20. Variable Functions
  21. Anonymous Functions
  22. Chapter 4: Strings
  23. Quoting String Constants
  24. Printing Strings
  25. Accessing Individual Characters
  26. Cleaning Strings
  27. Encoding and Escaping
  28. Comparing Strings
  29. Manipulating and Searching Strings
  30. Regular Expressions
  31. Chapter 5: Arrays
  32. Indexed Versus Associative Arrays
  33. Identifying Elements of an Array
  34. Storing Data in Arrays
  35. Multidimensional Arrays
  36. Extracting Multiple Values
  37. Converting Between Arrays and Variables
  38. Traversing Arrays
  39. Sorting
  40. Acting on Entire Arrays
  41. Using Arrays
  42. Iterator Interface
  43. Chapter 6: Objects
  44. Terminology
  45. Creating an Object
  46. Accessing Properties and Methods
  47. Declaring a Class
  48. Introspection
  49. Serialization
  50. Chapter 7: Web Techniques
  51. HTTP Basics
  52. Variables
  53. Server Information
  54. Processing Forms
  55. Setting Response Headers
  56. Maintaining State
  57. SSL
  58. Chapter 8: Databases
  59. Using PHP to Access a Database
  60. Relational Databases and SQL
  61. MySQLi Object Interface
  62. SQLite
  63. Direct File-Level Manipulation
  64. MongoDB
  65. Chapter 9: Graphics
  66. Embedding an Image in a Page
  67. Basic Graphics Concepts
  68. Creating and Drawing Images
  69. Images with Text
  70. Dynamically Generated Buttons
  71. Scaling Images
  72. Color Handling
  73. Chapter 10: PDF
  74. PDF Extensions
  75. Documents and Pages
  76. Text
  77. Chapter 11: XML
  78. Lightning Guide to XML
  79. Generating XML
  80. Parsing XML
  81. Parsing XML with DOM
  82. Parsing XML with SimpleXML
  83. Transforming XML with XSLT
  84. Chapter 12: Security
  85. Filter Input
  86. Cross-Site Scripting
  87. Escape Output
  88. Session Fixation
  89. File Uploads
  90. File Access
  91. PHP Code
  92. Shell Commands
  93. More Information
  94. Security Recap
  95. Chapter 13: Application Techniques
  96. Code Libraries
  97. Templating Systems
  98. Handling Output
  99. Error Handling
  100. Performance Tuning
  101. Chapter 14: PHP on Disparate Platforms
  102. Writing Portable Code for Windows and Unix
  103. Interfacing with COM
  104. Chapter 15: Web Services
  105. REST Clients
  106. XML-RPC
  107. Chapter 16: Debugging PHP
  108. The Development Environment
  109. The Staging Environment
  110. The Production Environment
  111. php.ini Settings
  112. Manual Debugging
  113. Error Log
  114. IDE Debugging
  115. Additional Debugging Techniques
  116. Chapter 17: Dates and Times
  117. Appendix Function Reference
  118. PHP Functions by Category
  119. Alphabetical Listing of PHP Functions
书名:PHP编程(第三版,影印版)
国内出版社:东南大学出版社
出版时间:2013年10月
页数:514
书号:978-7-5641-4456-2
原版书书名:Programming PHP, 3rd Edition
原版书出版商:O'Reilly Media
Kevin Tatroe
 
Kevin Tatroe已经做了十年Macintosh和Unix程序员,他也是一个经验丰富的PHP程序员,对于PHP5中的新变化非常熟悉。他也是Programming PHP第一版的作者之一。

Kevin Tatroe曾经做了十年的Macintosh和Unix程序员。也许是由于懒散的缘故吧,他被可自动完成很多工作的语言和框架吸引了,如AppleScript、Perl和PHP语言,还有WebObjects和Cocoa编程环境。
目前,Kevin和他的妻子Jenn、儿子Hadden,还有他们的两只猫住在科罗拉多州的乡村大平原边缘,那里离大山很远,不必担心糟糕的降雪,也不用担心龙卷风。他们的房子里到处都是LEGO拼装玩具、运动图片和众多其他玩具。
 
 
Peter MacIntyre
 
Peter MacIntyre生活和工作在夏洛特顿(加拿大爱德华王子岛的首府),他有十六年的IT业工作经验,主要领域为软件开发。Peter拥有的技术技能包括多种客户端/服务端工具和关系型数据库,如PHP、PowerBuilder、Visual Basic、Active Server Pages和CA-Visual Objects。他获得了Zend公司的PHP4认证,并参与了多本书籍的写作:Using Visual Objects(Que公司出版)、Using PowerBuilder 5(Que公司出版)、ASP.NET Bible(Wiley出版)和Web Warrior Survey on Web Development Languages(Course Technology公司出版)。Peter同时也是PHP杂志php|architect (http://www.phparch.com)的编辑和作者(包括在线版和纸版杂志)。他也常在各种计算机会议上作报告,包括在新奥尔良召开的CA-World、德国科隆召开的CA-TechniCon和澳大利亚墨尔本召开的CA-Expo。
 
 
Rasmus Lerdorf
 
Rasmus Lerdorf于1995年启动了PHP项目,并从那以后一直为PHP的发展而努力。Rasmus是Apache的长期贡献者,也是Apache基金会的成员,他曾参与了PHP之外的很多其他的开源项目。Rasmus是PHP Pocket Reference第一版的作者和Programming PHP第一版的作者之一,这两本书都由O'Reilly公司出版。

Rasmus Lerdorf于1968年生于格陵兰岛西部迪科斯岛上的Godhavn/Qeqertarsuaq。他从1985年开始涉足Unix解决方案。Rasmus主要以其1995年开始负责的PHP项目而闻名,另外他还由于在mSQL 1.x中使用ANSI-92 SQL不接受的LIMIT子句而备受指责,而现在该子句至少在概念上已经被MySQL和PostgreSQL所接受。
Rasmus试图拒绝程序员的称呼,而宁愿被视为一位擅长解决问题的技术专家。如果解决问题需要一点编码,他绝不会让其他人代劳,而喜欢自行解决。Rasmus目前和他的妻子Christine居住在旧金山附近。
 
 
The animal on the cover of Programming PHP, Third Edition is a cuckoo (Cuculus canorus). Cuckoos epitomize minimal effort. The common cuckoo doesn’t build a nest—instead, the female cuckoo finds another bird’s nest that already contains eggs and lays an egg in it (a process she may repeat up to 25 times, leaving 1 egg per nest). The nest mother rarely notices the addition, and usually incubates the egg and then feeds the hatchling as if it were her own. Why don’t nest mothers notice that the cuckoo’s eggs are different from their own? Recent research suggests that it’s because all eggs look the same in the ultraviolet spectrum, in which birds can see.

When they hatch, the baby cuckoos push all the other eggs out of the nest. If the other eggs hatched first, the babies are pushed out too. The host parents often continue to feed the cuckoo even after it grows to be much larger than they are, and cuckoo chicks sometimes use their call to lure other birds to feed them as well. Interestingly, only Old World (European) cuckoos colonize other nests—the New World (American) cuckoos build their own (untidy) nests. Like many Americans, these cuckoos migrate to the tropics for winter.

Cuckoos have a long and glorious history in literature and the arts. The Bible mentions them, as do Pliny and Aristotle. Beethoven used the cuckoo’s distinctive call in his Pastoral Symphony. And here’s a bit of etymology for you: the word “cuckold” (a husband whose wife is cheating on him) comes from “cuckoo.” Presumably, the practice of laying one’s eggs in another’s nest seemed an appropriate metaphor.