Jump to ratings and reviews
Rate this book

Beginning PHP4

Rate this book
Beginning PHP4 offers an almost ideal introductory tutorial to one of today's hotter scripting languages. This book really is everything that the novice needs to start building dynamic Web sites that are powered by PHP4, but old hands at programming also will find in it valuable information.

PHP, of course, is introduced in the book, but there's 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, but 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's rather specialized--the examples are right on, and illustrate everyday programming tasks. You'll learn also how 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's concise, fast moving, and thoroughly approachable. --Richard Dragan

Topics covered:

Introduction to PHP 4 Downloading and installing PHP Basics of HTTP and Web pages PHP as a scripting language PHP data types Constants and conversions HTML primer Form variables Decision making in PHP Loops and arrays PHP functions Error handling in PHP Tips on writing more maintainable code Debugging hints Preserving state with hidden form variables
Query strings Cookies and PHP4 native sessions Using PHP objects File and directory functions PHP database programming Installing and using MySQL Tutorial for SQL syntax Querying and updating records XML "quickstart" for PHP users Creating e-mail and electronic newsletters PHP graphics processing (including image maps) Case study for a URL directory manager ODBC tutorial PHP4 function reference

816 pages, Kindle Edition

First published October 31, 2000

1 person is currently reading
14 people want to read

About the author

Wankyu Choi

3 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
9 (22%)
4 stars
18 (45%)
3 stars
11 (27%)
2 stars
1 (2%)
1 star
1 (2%)
Displaying 1 - 2 of 2 reviews
Profile Image for Sarah Pandes.
23 reviews12 followers
September 25, 2012
This is where it all started. The very first programming book that I really dug. This was my ally during my on-the-job-training. The book is easy to understand and provides exercises and examples which are well explained and easy to follow.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.