Page 206 - Open Soource Technologies 304.indd
P. 206

Web Technologies-I                                             Sarabjit Kumar, Lovely Professional University



                   Notes                                Unit 9:  Web Techniques




                                   CONTENTS
                                   Objectives
                                   Introduction

                                   9.1   HTTP Basics
                                       9.1.1   Request and Response
                                       9.1.2   The HTTP Header
                                   9.2   Web Variables
                                   9.3   Server Information
                                   9.4   Processing Forms
                                       9.4.1   Create the Form
                                       9.4.2   Getting the Form Data in the PHP Script
                                       9.4.3   Validating the Form Data
                                       9.4.4   Saving the Form Data to a MySQL Database

                                       9.4.5   Program for Processing Form
                                   9.5   Setting Response Headers
                                       9.5.1   Different Content Types
                                       9.5.2  Redirections
                                       9.5.3  Expiration
                                       9.5.4  Authentication
                                   9.6   Maintaining State
                                       9.6.1  Cookies
                                       9.6.2  Sessions
                                       9.6.3   Combining Cookies and Sessions
                                   9.7   Security Socket Layer(SSL)
                                       9.7.1   Enabling and Disabling SSL Support
                                       9.7.2   Licensing Information

                                   9.8  Summary
                                   9.9  Keywords
                                   9.10  Review Questions
                                   9.11  Further Reading

                                 Objectives

                                 After studying this unit, you will be able to:

                                    •  Understand the concepts of HTTP
                                    •  Discuss the Web variables




        200                               LOVELY PROFESSIONAL UNIVERSITY
   201   202   203   204   205   206   207   208   209   210   211