Publishers of technology books, eBooks, and videos for creative people

Home > Store

PHP for the World Wide Web: Visual QuickStart Guide

Register your product to gain access to bonus material or receive a coupon.

PHP for the World Wide Web: Visual QuickStart Guide

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale



  • NEW - Sample scripts and projects—Throughout the book along with a companion Website offer every script in the book available for downloading.
    • Students can work on real world examples reinforcing the steps illustrated in the text. Ex.___

  • Task-based—Information is broken down into concise, one- and two-page tasks.
    • Allows students to learn the most important tasks of ASP and get right to work on any project. Ex.___

  • Visual reference—Plenty of screen shots illustrate the step-by-step instructions.
    • Visually demonstrates and reinforces the instructions for a particular task as the students work at their computers. Ex.___

  • Step-by-step—Numbered, easy-to-follow instructions.
    • Succinct numbered instructions provide a logical approach to learning tasks. Ex.___

  • Quick reference tabs—Tabs on each page identify the task.
    • Easy for the instructors and students to find a particular task and makes this text useful after the course ends. Ex.___

  • Shaded sidebars.
    • Calls attention to important features and additional helpful information. Ex.___

  • Tips—Highlighted through the book.
    • Offer author advice, timesaving shortcuts, and pointers for students who want a further understanding of ASP. Ex.___

  • Industry-leading author—Larry E. Ullman, an experienced PHP programmer, is currently Lead Programmer at Com-Insights, a digital media services provider.
    • Many of Peachpit's Visual QuickStart authors are industry-leading teachers and designers, providing students with expert, professional training. Ex.___

  • Value-priced.
    • All Visual QuickStart Guides are reasonably priced, making them an affordable option for learning multiple software programs. Ex.___


  • Copyright 2001
  • Edition: 1st
  • Premium Website
  • ISBN-10: 0-201-72787-0
  • ISBN-13: 978-0-201-72787-6

PHP is a powerful (and free) scripting language used to create dynamic Web sites and Web applications. With PHP, Web application developers can perform both simple and complex functions with a few lines of additional code in a standard HTML Web page. PHP is frequently being used to replace forms and functions formerly created by CGI scripts. PHP for the World Wide Web: Visual QuickStart Guide is geared for beginning and intermediate Web developers looking for an introductory guide. The task-based format gets users started with basic syntax, testing scripts, working with variables, creating Web applications, and more. Throughout the book, sample scripts and projects show the readers just what they need to know, and a companion Web site offers every script in this book available for downloading.


Related Articles

HTML Forms and PHP

What PHP Can Do For You

Web Resources

Click below for Web Resources related to this title:
Author's Web Site

Author's Site

Click below for the Author's Web Site related to this title:
Author's Web Site

Sample Content

Table of Contents


What Is PHP? Why Use PHP? How PHP Works. What You'll Need. About This Book. Companion Website.

1. Getting Started With PHP.

Basic Syntax. Sending Data to the Browser. Testing Your Script. Sending Text to the Browser. Sending HTML to the Browser. Using White Space in PHP (and HTML). Adding Comments to Your Script.

2. Variables.

What Are Variables? Variable Syntax. Types of Variables. Assigning Values to Variables. Predefined Variables.

3. HTML Forms and PHP.

Creating a Simple Forms. Using Get or Post. Receiving Data from a Form in PHP. Imputing Data Manually.

4. Using Numbers.

Adding, Subtracting, Multiplying, and Dividing. Formatting Numbers. Incrementing and Decrementing a Number. Using Multiple Operators. Using Built-in Mathematical Functions.

5. Using Strings.

Trimming Strings. Connecting Strings (Concatenation). Encoding and Decoding Strings. Encrypting and Decrypting Strings. Pulling Out Parts from a String.

6. Control Structures.

The If Control. More Operators. Using Else. Using Elseif. The Switch Conditional. The While Loop. The For Loop.

7. Using Arrays.

Creating an Array. Adding Items to an Array. Accessing Array Elements. Sorting Arrays. Transforming Between Strings and Arrays. Creating an Array from a Form. Creating Multidimensional Arrays.

8. Regular Expressions.

What are Regular Expressions? Defining a Simple Pattern. Matching Patterns. Defining More Complicated Patters. Matching and Replacing Patterns.

9. Creating Functions.

Creating and Using Simple Functions. Creating and Calling Functions that Take Arguments. Creating and Using Functions that Return Value. Variables and Functions.

10. Files and Directories.

File Permissions. Writing to Files. Reading from Files. Directories. Handling File Uploads. Renaming and Deleting Files and Directories.

11. Databases.

Connecting to and Creating a Database. Creating a Table. Sending Data to a Database. Retrieving Data from a Database.

12. Cookies.

Creating and Reading from Cookies. Adding Parameters to a Cookie. Deleting a Cookie.

13. Creating Web Applications.

Using Include and Require. Determining the Date and Time. Using HTTP Headers. Sending Email.

14. Debugging.

Common Errors. Error Reporting and Logging .Debugging Detective Work. Using the Die Statement

Appendix A: Installation and Configuration.

Installing on a Linux Server. Installing on a Windows 2000 Server. Configuring.

Appendix B: Security.

Cryptography and SSL. Writing Secure PHP. Security Resources.

Appendix C: PHP Resources.

The PHP Manual. Web Sites and Newsgroups. Database Resources. Advanced Topics. Tables.



Updates & Corrections

Corrections and Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership