Beginning PHP 5.3.pdf

(7821 KB) Pobierz
Programmer to Programmer
Get more out of
WROX.com
Interact
Take an active role online by participating in
our P2P forums
Chapters on Demand
Purchase individual book chapters in pdf
format
Wrox Online Library
Hundreds of our books are available online
through Books24x7.com
Join the Community
Sign up for our free monthly newsletter at
newsletter.wrox.com
Wrox Blox
Download short informational pieces and
code to keep you up to date and out of
trouble!
Browse
Ready for more Wrox? We have books and
e-books available on .NET, SQL Server, Java,
XML, Visual Basic, C#/ C++, and much more!
Contact Us.
We always like to get feedback from our readers. Have a book idea?
Need community support? Let us know by e-mailing
wrox-partnerwithus@wrox.com
Beginning PHP 5.3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii
Part I: Getting Up and Running with PHP
Chapter 1: Introducing PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2: Your First PHP Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Part II: Learning the Language
Chapter
Chapter
Chapter
Chapter
Chapter
Chapter
3:
4:
5:
6:
7:
8:
PHP Language Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Decisions and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Part III: Using PHP in Practice
Chapter 9: Handling HTML Forms with PHP . . . . . . . . . . . . . . . . . . . . . . . . 221
Chapter 10: Preserving State With Query Strings, Cookies, and Sessions . . 267
Chapter 11: Working with Files and Directories . . . . . . . . . . . . . . . . . . . . . 297
Chapter 12: Introducing Databases and SQL . . . . . . . . . . . . . . . . . . . . . . . . 337
Chapter 13: Retrieving Data from MySQL with PHP. . . . . . . . . . . . . . . . . . . 367
Chapter 14: Manipulating MySQL Data with PHP . . . . . . . . . . . . . . . . . . . . 403
Chapter 15: Making Your Job Easier with PEAR . . . . . . . . . . . . . . . . . . . . . 441
Chapter 16: PHP and the Outside World . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Chapter 17: Generating Images with PHP . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Chapter 18: String Matching with Regular Expressions . . . . . . . . . . . . . . . . 539
Chapter 19: Working with XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
Chapter 20: Writing High-Quality Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619
Appendix A: Solutions to Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Appendix B: Configuring PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719
Appendix C: Alternatives to MySQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757
Appendix D: Using PHP from the Command Line . . . . . . . . . . . . . . . . . . . . . 765
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
|||||||||||||||||||||||||||||||||||||||||||||||||
www.it-ebooks.info
|||||||||||||||||||||||||||||||||||||||||||||||||
www.it-ebooks.info
Beginning
PHP 5.3
|||||||||||||||||||||||||||||||||||||||||||||||||
www.it-ebooks.info
Zgłoś jeśli naruszono regulamin