Section 5.1. Introduction

5.1. Introduction

The most common use for PHP is building web sites. PHP makes web applications dynamic, enabling users to interact with the site. The web application collects information from the user by means of HTML forms and processes it. Some of the information collected from users and stored at the web site is sensitive information, making security a major issue. PHP provides features that enable you to collect information from the user and to secure the information. It's up to you to develop a complete application using the pieces provided by PHP. This chapter describes how to use the functionality of PHP to build a dynamic web application.

After you finish reading this chapter, you will have learned

  • How to embed PHP into HTML files

  • How to collect information from web page visitors using HTML forms

  • Some techniques used to attack web sites and how to protect against them

  • How to handle errors in user input

  • Two methods for making data persistent throughout your application: cookies and sessions

  • How to collect data files from users via HTML forms

  • How to organize your web application

    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: