Mastering PHP 4.1
暫譯: 精通 PHP 4.1

Jeremy Allen, Charles Hornberger

  • 出版商: Sybex
  • 出版日期: 2002-04-22
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 800
  • 裝訂: Paperback
  • ISBN: 0782129242
  • ISBN-13: 9780782129243
  • 相關分類: PHP
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Build Dynamic, Database-Driven Web Sites


PHP is a fully developed, server-side embedded scripting language, and its importance for web application development has grown with the rise of the Apache web server. Are you a novice programmer? This book starts with the basics and takes you wherever you want to go. A seasoned pro? You'll be amazed at how much you can capitalize on PHP's power and object-oriented support, and how it leverages your knowledge of other languages. Finally, if you're a PHP user in search of an authoritative reference, you need look no further. Mastering PHP 4.1 guides you through all levels of real-world web programming problems and provides expert advice on which solutions work best.

Coverage Includes:

  • Reading and writing files
  • Validating data with regular expressions
  • Accessing MySQL and PostgreSQL databases
  • Accessing LDAP servers
  • Generating images and PDF documents on the fly
  • Building authentication and access-control systems
  • Sending e-mail and building web-to-e-mail interfaces
  • Creating your own classes
  • Closing common security holes in PHP scripts
  • Parsing and generating XML documents
  • Using sessions to store persistent data
  • Debugging misbehaving scripts
  • Encrypting and decrypting sensitive data

Contents

Introduction

Part 1 • The Basics of PHP
Chapter 1 • Beginning Your Exploration of PHP
Chapter 2 • Variables
Chapter 3 • Operators and Expressions
Chapter 4 • Flow Control and Functions
Chapter 5 • Strings and Arrays

Part 2 •Programming Principles and PHP
Chapter 6 • Object-Oriented Programming
Chapter 7 • Debugging and Errors

Part 3 •Letting the Data Flow
Chapter 8 • SQL and Database Interaction
Chapter 9 • Forms and User Interaction
Chapter 10 • Data Validation
Chapter 11 • Sessions
Chapter 12 • Security
Chapter 13 • Files and Networking

Part 4 •How PHP Is Connected
Chapter 14 • Web Application Development
Chapter 15 • XML and XHTML
Chapter 16 • LDAP

Part 5 •Using PHP in the Real World
Chapter 17 • PDF
Chapter 18 • Generating Graphics
Chapter 19 • E-Mail

Appendixes
Appendix A • A Crash Course on Installing PHP
Appendix B • PHP Configuration Options
Appendix C • XHTML Entities

Index

商品描述(中文翻譯)

建構動態的資料庫驅動網站

PHP 是一種完全開發的伺服器端嵌入式腳本語言,隨著 Apache 網頁伺服器的興起,其在網頁應用程式開發中的重要性日益增加。你是初學者嗎?這本書從基礎開始,帶你走向你想去的地方。你是資深專業人士嗎?你會驚訝於你能夠充分利用 PHP 的強大功能和物件導向支援,以及它如何利用你對其他語言的知識。最後,如果你是尋找權威參考的 PHP 使用者,這本書就是你的最佳選擇。《Mastering PHP 4.1》將引導你解決各種現實世界的網頁程式設計問題,並提供專家的建議,告訴你哪些解決方案最有效。

涵蓋內容包括:
- 讀取和寫入檔案
- 使用正則表達式驗證資料
- 存取 MySQL 和 PostgreSQL 資料庫
- 存取 LDAP 伺服器
- 即時生成圖像和 PDF 文件
- 建立身份驗證和存取控制系統
- 發送電子郵件並建立網頁到電子郵件的介面
- 創建自己的類別
- 關閉 PHP 腳本中的常見安全漏洞
- 解析和生成 XML 文件
- 使用會話存儲持久資料
- 偵錯不正常的腳本
- 加密和解密敏感資料

內容
引言

第一部分 • PHP 基礎
第 1 章 • 開始探索 PHP
第 2 章 • 變數
第 3 章 • 運算子和表達式
第 4 章 • 流程控制和函數
第 5 章 • 字串和陣列

第二部分 • 程式設計原則與 PHP
第 6 章 • 物件導向程式設計
第 7 章 • 偵錯與錯誤

第三部分 • 讓資料流動
第 8 章 • SQL 和資料庫互動
第 9 章 • 表單和使用者互動
第 10 章 • 資料驗證
第 11 章 • 會話
第 12 章 • 安全性
第 13 章 • 檔案和網路

第四部分 • PHP 的連接方式
第 14 章 • 網頁應用程式開發
第 15 章 • XML 和 XHTML
第 16 章 • LDAP

第五部分 • 在現實世界中使用 PHP
第 17 章 • PDF
第 18 章 • 生成圖形
第 19 章 • 電子郵件

附錄
附錄 A • PHP 安裝速成課程
附錄 B • PHP 配置選項
附錄 C • XHTML 實體

索引