Beginning PHP4

Beginning PHP4

Beginning PHP4
Programmer to Programmer
Wrox | ISBN: 0764543644 | 816 pages | 8,7 MB | CHM

Book programming code in arhcive!
PHP is a server-side scripting language. It is an open source, cross platform technology (NT, Linux, UNIX), rapidly gaining popularity as a scripting language for people running dynamic websites. Using practical examples and a step by step approach, this book explains how to develop web applications using PHP.

Beginning PHP4 offers an almost ideal introductory tutorial to one of today's hottest scripting languages. This book is really all the novice needs to start building dynamic Web sites powered by PHP4, but old hands at programming will also find valuable information inside it.
PHP, of course, is introduced in the book, but there is also an approachable and effective introduction to programming in general. The conscientious tutorial on basic concepts like variables, keywords and flow control will give even beginners an understanding of the basics of writing programs. PHP, it turns out, is not only a great way to generate HTML dynamically, it's a very marketable skill. Web fundamentals like HTTP, HTML form variables, and managing session information using no less than four different techniques are explained thoroughly and effectively. You also find out how to install PHP and other tools on your system, with the assistance of plenty of screen shots.
That's not to say that this book will cramp the style of more experienced developers. Some chapters delve into such important and advanced topics as database programming (with MySQL) and PHP's support for XML. One standout section demystifies the new support for objects and classes in PHP4. Basic topics like managing files and directories on the server, plus graphics processing, are addressed, of course, and a nifty sample program shows you how to build a Web-based text editor. Except for the final case study, a "URL directory manager" (akin to Yahoo) that is rather specialised, the examples are spot on, illustrating everyday programming tasks. You will also learn to generate e-mail with PHP, certainly a valuable skill to have.
The appendix lists several hundred PHP functions in over 50 pages--a handy and useful feature. In all, Beginning PHP4 provides a strong choice for learning about one of today's most powerful and easy-to-use scripting languages. It is concise, fast-moving and thoroughly approachable.
 
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 3: PHP Language Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Chapter 4: Decisions and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Chapter 5: Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Chapter 6: Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Chapter 7: Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Chapter 8: 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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值