Paul Hudson, an avid PHP programmer, is Deputy Editor of the popular European Linux journal Linux Format, and author of the publication's PHP tutorial section. He is the author of Fedora 4 Unleashed and of the online book Practical PHP Programming available at http://www.hudzilla.org.
PHP in a Nutshellby Paul Hudson
Now installed on more than 20 million Internet domains around the world, PHP is an undisputed leader in web programming languages. Database connectivity, powerful extensions, and rich object-orientation are all reasons for its popularity, but nearly everyone would agree that, above all, PHP is one of the easiest languages to learn and use for developing dynamic web
Now installed on more than 20 million Internet domains around the world, PHP is an undisputed leader in web programming languages. Database connectivity, powerful extensions, and rich object-orientation are all reasons for its popularity, but nearly everyone would agree that, above all, PHP is one of the easiest languages to learn and use for developing dynamic web applications. The ease of development and simplicity of PHP, combined with a large community and expansive repository of open source PHP libraries, make it a favorite of web designers and developers worldwide.
PHP in a Nutshell is a complete reference to the core of the language as well as the most popular PHP extensions. This book doesn't try to compete with or replace the widely available online documentation. Instead, it is designed to provide depth and breadth that can't be found elsewhere. PHP in a Nutshell provides the maximum information density on PHP, without all the fluff and extras that get in the way. The topic grouping, tips, and examples in this book complement the online guide and make this an essential reference for every PHP programmer. This book focuses on the functions commonly used by a majority of developers, so you can look up the information you need quickly. Topics include:
- Object-oriented PHP
- String manipulation
- Working with files
- Database interaction
- Multimedia creation
Whether you're just getting started or have years of experience in PHP development, PHP in a Nutshell is a valuable addition to your desk library.
Meet the Author
Most Helpful Customer Reviews
See all customer reviews
Are you an existing PHP developer who is looking for a complete, compact, and portable reference guide to the language? Well, you're in luck! Author Paul Hudson, has done an outstanding job of writing a book that is a complete reference to the core of the language as well as, the most popular PHP extensions. Hudson, begins by covering the general characteristics of the PHP language and its implementations, and discusses where to get help and information. Then, he explains how to obtain and install PHP. The author continues by covering the PHP interpreter and its use for running PHP programs on a web server or on the command line. He also covers PHP syntax, variables, control structures, includes, and user-defined functions. He continues by examining the different variable types in PHP. In addition, the author next outlines the basic operators in PHP. Then, he looks at the most commonly used built-in functions of PHP. The author continues by explaining object-oriented programming in PHP. He also provides an introduction to creating HTML forms and processing them in PHP. The author also explains the tools for using cookies and sessions in PHP. He continues by describing how to buffer your output, and when you would want to do so. The author also covers a few essential security considerations when running PHP websites. Next, he provides a reference to the functions for interacting with files. Then, the author gives a brief introduction to accessing mySQL and SQLite databases in PHP, and to PEAR::DB, which provides a consistent interface to many different database packages. Next, he covers some powerful ways to process strings, including matching, extracting substrings, and replacing text. Then, he shows you how to create and alter images with the GD library that ships with PHP. The author also shows you how to create PDFs in PHP by using PDFlib. He continues by showing you how to generate Flash movies in PHP by using the Ming library. Then, the author covers modules for processing XML with PHP. Next, he explains socket programming, custom HTTP headers, HTTP authentication, sending email, and sending data over FTP and HTTP with Curl. The author also describes a few considerations when you prepare to distribute your code to other users. He continues by looking at the tools that are available to help you track down errors in your PHP code. Finally, he offers a few tips on getting the most out of PHP. This excellent book is designed by the author to provide depth and breadth that can't be found elsewhere. Thus, this book provides the maximum information density on PHP, without all of the fluff and extras that get in the way.