Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 1.083 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
1.083
Dung lượng
15,97 MB
Nội dung
[...]... II: PHP andMySQL Part II is devoted both to MySQLand to PHP’s interaction with MySQL ✦ Chapters 12 and 13 provide a general orientation to Web programming with SQL databases, including advice on how to choose the database system that is right for you ✦ Chapter 14 covers installation and administration of MySQL databases, and Chapter 15 is devoted to PHP functions for MySQL ✦ Chapters 16 and 17 are... Administration 259 MySQL Licensing Installing MySQL: Moving to Version 4 Preinstall considerations Downloading MySQL Installing MySQL on Windows Installing MySQL on Unix Installing MySQL on Mac OS X Post-installation housekeeping Basic MySQL client commands MySQL User Administration Local development Standalone Web site Shared-hosting... survives unchanged in PHP5, there have been some deep changes Among the ones we cover are: ✦ Zend Engine 2 and the new object model, with support for private/protected members, abstract classes, and interfaces ✦ PHP5 s completely reworked XML support, built around libmxl2 ✦ Exceptions and exception handling MySQL coverage We now cover MySQL 4.0 installation, database design, and administration, including... to PHP5andMySQL Bible! Although we’re biased, we believe that the PHP Web-scripting language is the hands-down winner in its niche — by far the easiest and most flexible server-side tool for getting great Web sites up and running in a hurry Although millions of Web programmers worldwide could be wrong, in this particular case, they’re not MySQL is the most popular open-source database platform, and. .. code-rich case studies of PHP /MySQL interactions ✦ Chapters 18 and 19 provide tips and gotchas specific to PHP /MySQL work xi xii Preface Part III: Advanced Features and Techniques In this part we cover more advanced and abstruse features of PHP, usually as self-contained chapters, including object-oriented programming, session handling, exception handling, using cookies, and regular expressions Chapter... reorganize the second edition and bring it up to date with PHP5 We realized, however, that although the previous editions covered PHP /MySQL interaction, we had left readers in the dark about how to create and administer MySQL databases in the first place, and this led to many reader questions As a result, we decided to beef up the coverage of MySQLand change the title x Preface New PHP5 features Although... replication, and recovery As with previous editions, we devote much of the book to techniques for writing MySQL- backed PHP applications Other new material In addition to MySQL- and PHP5- specific features, we’ve added: ✦ Improved coverage of databases other than MySQL (Oracle, PostgreSQL, and the PEAR database interaction layer) ✦ The PEAR code repository ✦ A chapter on integrating PHP and Java ✦ Separate... xv Part I: PHP: The Basics 1 Chapter 1: Why PHP and MySQL? 3 What Is PHP? 3 What Is MySQL? 4 The History of PHP 4 The History of MySQL 5 Reasons to Love PHP andMySQL 6 Cost ... 265 268 268 269 269 272 274 276 277 278 278 Chapter 15: PHP /MySQL Functions 279 Connecting to MySQL Making MySQL Queries Fetching Data Sets Getting Data about Data Multiple Connections Building in Error Checking Creating MySQL Databases with PHP MySQL data types MySQL Functions Summary ... through 42 cover self-contained topics: PHP and e-mail programs, combining PHP with JavaScript, integrating PHP and Java, PHP and XML, PHP-based Web services, and creating graphics with the gd image library Part V: Case Studies Here we present six extended case studies that wrap together techniques from various early chapters ✦ Chapter 43 takes you through the design and implementation of a weblog ✦ Chapter