Product Description
Mastering PHP 4.1 is the resource you need if you want to build full-featured web applications with the leading open-source web development tool. This book is up-to-date for the latest version of PHP and covers a wide range of topics, including accessing MySQL and PostgreSQL databases, accessing LDAP servers, generating images and PDF documents on the fly, and creating your own classes. You also learn how to send email, build web-to-e-mail interfaces, close common security holes in PHP scripts, and parse and generate XML files. If you are a novice programmer, you can use the book to learn the basics of object-oriented programming with the PHP language. If you are a seasoned pro, you can use the book as an invaluable reference for expert solutions to common problems. The companion CD-ROM contains PHP 4.1.1, the sample code and projects from the book, the Apache web server, and the MySQL database.
From the Back Cover
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
Featured on the CD The enclosed CD contains PHP 4.1 along with all the sample code from the book and projects that you can adapt and use in your own site. You also get all the official PHP documentation and full copies of Apache web server and MySQL RDBMS.
See all Editorial Reviews