学习PHP & MySQL(第二版,影印版)
学习PHP & MySQL(第二版,影印版)
Michele E. Davis, Jon A. Phillips
出版时间:2008年03月
页数:411
PHP和MySQL正在迅速成为开发数据库驱动的动态网站的标准方法。对于程序开发新手或者被那些令人费解的编程书籍弄得心烦意乱的人而言,《学习PHP & MySQL》是将这对网络开发强劲组合的学习变得简单快速的完美方法。

本书新版不仅专注于PHP和MySQL, 而且涉及用PHP和MySQL来编写动态网页的相关技术,包括Apache Web服务器、XHTML、HTTP及其他内容。你将通过特别设计的例子来使用MySQL并学习如何操作数据,同时也学习PHP编程语言的基础知识以便将数据整合到你的网站上。

《学习PHP & MySQL》第二版包括以下内容:

* PHP基础知识,如数据类型、程序流程逻辑、变量、函数、数组和表单
* 在各种环境下安装PHP和MySQL的详细步骤
* MySQL数据库基础,如表和语句
* 通过SQL操作数据库的简要解释
* 新加一章内容讲解XHTML如何与PHP和网站协同工作
* 安全和访问控制,同时包括一些常见安全陷阱
* 错误处理、HTTP身份验证和其他

《学习PHP & MySQL》讲解了从基本概念到完成特定任务的实践技能等的各个要点,并使用示例应用程序来展示这些技术是如何一起工作共同构建高效快速网站的。如果你有网页或者图像设计的背景并且了解HTML,《学习PHP & MySQL》就是你开始创建动态网页所需要的书籍。

Michele E. Davis从1988年开始拥有一个技术写作和软件培训公司。她已经独立写作或者合著了超过11部书籍。

Jon A. Philips是一位在网络开发和数据库应用领域有超过12年经验的软件工程师。他和Michele Davis在2006年7月合著了《Dreamweaver 8 All-in-One Desk Reference For Dummies》(Wiley出版)。
  1. Preface
  2. 1. Dynamic Content and the Web
  3. HTTP and the Internet
  4. PHP and MySQL’s Place in Web Development
  5. The Components of a PHP Application
  6. Integrating Many Sources of Information
  7. Requesting Data from a Web Page
  8. 2. Installation
  9. Developing Locally
  10. Working Remotely
  11. 3. Exploring PHP
  12. PHP and HTML Text
  13. Coding Building Blocks
  14. 4. PHP Decision-Making
  15. Expressions
  16. Operator Concepts
  17. Conditionals
  18. Looping
  19. 5. Functions
  20. Calling Functions
  21. Defining Functions
  22. Object-Oriented Programming
  23. 6. Arrays
  24. Array Fundamentals
  25. 7. Working with MySQL
  26. MySQL Database
  27. Managing the Database
  28. Using phpMyAdmin
  29. Database Concepts
  30. Structured Query Language
  31. 8. Database Best Practices
  32. Database Design
  33. Backing Up and Restoring Data
  34. Advanced SQL
  35. 9. Getting PHP to Talk to MySQL
  36. The Process
  37. Querying the Database with PHP Functions
  38. Using PEAR
  39. 10. Working with Forms
  40. Building a Form
  41. Templates
  42. 11. Practical PHP
  43. String Functions
  44. Date and Time Functions
  45. File Manipulation
  46. Calling System Calls
  47. 12. XHTML
  48. Why XHTML?
  49. XHTML and XML Namespaces
  50. XHTML Versions
  51. Generating XHTML with PHP
  52. 13. Modifying MySQL Objects and PHP Data
  53. Changing Database Objects from PHP
  54. Manipulating Table Data
  55. Displaying Results with Embedded Links
  56. Presenting a Form to Add and Process in One File
  57. Updating Data
  58. Deleting Data
  59. Performing a Subquery
  60. 14. Cookies, Sessions, and Access Control
  61. Cookies
  62. PHP and HTTP Authentication
  63. Sessions
  64. Using Auth_HTTP to Authenticate
  65. 15. Security
  66. Session Security
  67. 16. Validation and Error Handling
  68. Validating User Input with JavaScript
  69. Pattern Matching
  70. Redisplaying a Form After PHP Validation Fails
  71. 17. Sample Application
  72. Configuration File
  73. Page Framework
  74. Database
  75. Displaying a Postings Summary
  76. Displaying a Posting and Its Comments
  77. Adding and Changing Posts
  78. Adding and Changing Comments
  79. 18. Finishing Your Journey
  80. PHP Coding Standards
  81. PEAR
  82. Frameworks
  83. Ajax
  84. Wikis
  85. Finding Help on the Web
  86. Appendix. Solutions to Chapter Questions
  87. Index
书名:学习PHP & MySQL(第二版,影印版)
国内出版社:东南大学出版社
出版时间:2008年03月
页数:411
书号:978-7-5641-1142-7
原版书出版商:O'Reilly Media
Michele E. Davis
 
Michele E. Davis和John A. Phillips 分别是Kraut的Krautgrrl和Krautboy。Phillips拥有计算机科学的背景,在中学时期就开始编程。他的工作涉及多种数据库,包括Oracle、SQL Server以及MySQL。Phillips一直致力于寻求最佳技术(如PHP)来解决现实世界中的计算问题。为Kraut客户研制计算机、排除障碍、设计定制Web解决方案,以及照顾三个活泼可爱的孩子就是他的最大享受。Davis从中学开始就一直热衷于写作,最终成为一名职业作家。她专注于所有形式的科技写作,从市场推广到硬件或软件的用户手册。Davis为ibook、Sybex和Wiley & Sons编著(和合著)了多本书籍,她最善于将非常专业的技术概念转化为易于被客户和读者理解的信息。Davis是Kraut的创意先锋,而Phillips则负责处理后端编码。她热爱阅读、写作,还乐于开车接送孩子们参加体育活动。
Krautgrrl和Krautboy感谢Twin Cities PHP 社区在listserv做出的所有有益评论。
Michele E. Davis and Jon A. Phillips are the Krauts: Krautgrrl and Krautboy, respectively.
Phillips has a background in computer science, having started programming in
grade school. He’s worked with numerous databases, including Oracle, SQL Server,
and MySQL. Phillips is always looking for the best technologies, such as PHP, to
solve real-world computing problems. He enjoys building computers, troubleshooting,
and designing custom web solutions for the Kraut clients and his three
rambunctious children. Davis has been a career writer since grade school and has
focused on all forms of technology writing: from marcom to hardware or software
user manuals. Davis has written (and coauthored) books for ibooks, Sybex, and
Wiley. Her greatest skill is breaking down highly technical concepts into easy-todigest
information bites for her clients and readers. She is the creative edge of Kraut
Companies, while Phillips handles the backend coding. Her hobbies are reading,
writing, and pretending to be a soccer mom.
 
 
Jon A. Phillips
 
Michele E. Davis和John A. Phillips 分别是Kraut的Krautgrrl和Krautboy。Phillips拥有计算机科学的背景,在中学时期就开始编程。他的工作涉及多种数据库,包括Oracle、SQL Server以及MySQL。Phillips一直致力于寻求最佳技术(如PHP)来解决现实世界中的计算问题。为Kraut客户研制计算机、排除障碍、设计定制Web解决方案,以及照顾三个活泼可爱的孩子就是他的最大享受。Davis从中学开始就一直热衷于写作,最终成为一名职业作家。她专注于所有形式的科技写作,从市场推广到硬件或软件的用户手册。Davis为ibook、Sybex和Wiley & Sons编著(和合著)了多本书籍,她最善于将非常专业的技术概念转化为易于被客户和读者理解的信息。Davis是Kraut的创意先锋,而Phillips则负责处理后端编码。她热爱阅读、写作,还乐于开车接送孩子们参加体育活动。
Krautgrrl和Krautboy感谢Twin Cities PHP 社区在listserv做出的所有有益评论。
Michele E. Davis and Jon A. Phillips are the Krauts: Krautgrrl and Krautboy, respectively.
Phillips has a background in computer science, having started programming in
grade school. He’s worked with numerous databases, including Oracle, SQL Server,
and MySQL. Phillips is always looking for the best technologies, such as PHP, to
solve real-world computing problems. He enjoys building computers, troubleshooting,
and designing custom web solutions for the Kraut clients and his three
rambunctious children. Davis has been a career writer since grade school and has
focused on all forms of technology writing: from marcom to hardware or software
user manuals. Davis has written (and coauthored) books for ibooks, Sybex, and
Wiley. Her greatest skill is breaking down highly technical concepts into easy-todigest
information bites for her clients and readers. She is the creative edge of Kraut
Companies, while Phillips handles the backend coding. Her hobbies are reading,
writing, and pretending to be a soccer mom.
 
 
The image on the cover of Learning PHP and MySQL is of kookaburra birds
(Dacelo). This “laughing” bird is indigenous to the eastern woodland parts of
Australia, and it derives its name from its distinctive call. Similar to a loud, howling
laugh, it sounds as if the bird is saying “koo koo koo ka ka ka.” It typically makes
this call at dawn and again in the early evening to mark its territory. The call is also
used as a greeting and can get quite loud if groups of the birds meet each other and
begin engaging in “conversations.”
A kookaburra is also easily recognizable by its plumage. It has brown feathers on top
and cream-colored feathers on the underside and a large, strong, black beak. There is
a brown stripe through the eye area. Its wings are brown, tinged with a light shade of
blue, and the tail feathers are black. Males also have a darker shade of blue streaked
through their tail feathers. The kookaburra is about 16–17 inches tall. Its diet varies
and includes insects, lizards, snakes, and small birds. If the prey is small enough, the
kookaburra will snap it up quickly and eat it whole; if it’s large, it kills the prey by
dropping it to the ground from a high point or by beating it against a tree, rock, or
the ground. Friendly and comfortable around humans, kookaburras have been
known to steal unattended BBQor picnic fare, still choosing to beat it against a tree
before eating.
Kookaburras are believed to mate for life. An interesting fact is the offspring stay
with the family unit for extended periods, helping to raise the next generations of
babies by assisting with such things as egg incubation and feeding.