Synopses & Reviews
"This book was all that I needed to learn PHP. Far more than a language reference, it contains the advice and recommendations of two true PHP experts."
-Jeff Barr, Founder and Developer, Syndic8.com
* Get up to speed fast on PHP programming fundamentals
* Explore the ins and outs of MySQL and Oracle database connectivity
* Master new features for XML parsing, Web services, graphics, and more
If PHP can do it, you can do it too . . .
If you want to create dynamic, database-driven Web content, you will not find a better, more cost-effective tool than PHP. Now expanded with more case study examples and thoroughly updated to cover the latest features of PHP 4.2, this is the one good book on PHP you need, whether you're a Web designer, a programmer, or an ASP, JSP, or ColdFusion veteran. From programming and database connectivity basics (including all-new coverage of Oracle) to weblogs, cookies, e-mail, XML, Web services, graphics, security, and more, it delivers all the tips, techniques, and "gotchas" you need to get up and running quickly - and take PHP to the limit.
Inside, you'll find complete coverage of PHP
* Get up to speed on PHP programming using a running fitness calculator example
* Connect HTML-based Web pages to MySQL or Oracle databases
* Create database-linked forms
* Use PHP to output JavaScript or send e-mail
* Harness new PHP features for XML applications and Web services
* Generate on-the-fly graphics using the GD library
* Integrate other people's PHP into your applications - skins, styles, and more
* Get the scoop on security, cryptography, configuration, and tuning
* Put it all together with two complete case study examples - a user authentication system and a trivia game
Synopsis
The "PHP 4 Bible" is a comprehensive tutorial and reference to PHP. The "bible" provides a clear, coherent description of PHP and how to use it whether you are a Web developer, someone with ASP experience, or a C programmer. The book covers why users need PHP, how to get started, how to add PHP to HTML, and how to connect HTML Web pages to databases.
Synopsis
* Covers why users need PHP, how to get started, how to add PHP to HTML, and how to connect HTML Web pages to MySQL or Oracle databases.
* Authors have extensive experience using PHP and provide case studies of how and where to use PHP.
* Covers advanced topics, such as HTTP, cookies, Web services, redirection, building graphics, and sessions.
Synopsis
- Comprehensive tutorial covering all the basics of PHP 4.2 and how to use PHP to connect HTML- and XML-based Web pages to databases
- Provides a clear, coherent description of PHP and explains why users need it
- Authors have extensive experience using PHP and provide case studies of how and where to use it
- Covers advanced topics such as cookies, Web services, redirection, building graphics, and sessions
- New chapters explore generating graphics from PHP, interacting with Oracle, SOAP and XML-PRC, regular expression, and much more
About the Author
Tim Converse has written software to recommend neckties, answer questions about space stations, pick value stocks, and make a simulated breakfast. He has an M.S. in Computer Science from the University of Chicago, where he taught several programming classes. He is now a software engineer at Inktomi Corporation.
Joyce Park has an M.A. in history from the University of Chicago and has worked on several content-rich PHP Web sites, including the award-winning MysteryGuide.com. Her writing has garnered praise from the editors and readers of Slashdot, OSOpinion, Linux.com, and many others worldwide. Joyce is now a senior Web developer at KnowNow, Inc.
Table of Contents
Preface.
Acknowledgements.
Part I: PHP: The Basics.
Chapter 1: Why PHP?
Chapter 2: Server-Side Web Scripting.
Chapter 3: Getting Started with PHP.
Chapter 4: Adding PHP to HTML.
Chapter 5: Syntax, Variables, and Printing.
Chapter 6: Types in PHP.
Chapter 7: Control.
Chapter 8: Using and Defining Functions.
Chapter 9: Passing Information Between Pages.
Chapter 10: Strings and String Functions.
Chapter 11: Arrays and Array Functions.
Chapter 12: Math.
Chapter 13: Filesystem and System Functions.
Chapter 14: PHP Style.
Chapter 15: Basic PHP Gotchas.
Part II: PHP and Databases.
Chapter 16: Choosing a Database for PHP.
Chapter 17: SQL Tutorial.
Chapter 18: PHP/MySQL Database Functions.
Chapter 19: Oracle Functions.
Chapter 20: Displaying Queries InTables.
Chapter 21: Building Forms from Queries.
Chapter 22: Weblogs.
Chapter 23: Case Study: A User-Rating System.
Chapter 24: PHP/Database Efficiency and Style.
Chapter 25: PHP/Database Gotchas.
Part III: Advanced Techniques.
Chapter 26: Object-Oriented Programming with PHP.
Chapter 27: Sessions, Cookies, and HTTP.
Chapter 28: PHP and JavaScript.
Chapter 29: E-mail.
Chapter 30: Regular Expressions.
Chapter 31: PHP and XML.
Chapter 32: Web Services.
Chapter 33: Graphics.
Chapter 34: Converting Static HTML Sites.
Chapter 35: Other People's PHP.
Chapter 36: Security and Cryptography.
Chapter 37: Configuration and Tuning.
Chapter 38: Case Study: User Authentication.
Chapter 39: Case Study: A Trivia Game.
Part IV: Appendixes.
Appendix A: PHP for C Programmers.
Appendix B: PHP for Perl Hackers.
Appendix C: PHP for HTML Coders.
Appendix D: PHP Resources.
Glossary.
Index.