Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 2 Programming with PHP Part 1. form.html Script 2.1 on pages 37-8 orm.html

Similar presentations


Presentation on theme: "Chapter 2 Programming with PHP Part 1. form.html Script 2.1 on pages 37-8 orm.html"— Presentation transcript:

1 Chapter 2 Programming with PHP Part 1

2 form.html Script 2.1 on pages 37-8 http://csweb.hh.nku.edu/csc301/frank/ch02/f orm.html http://csweb.hh.nku.edu/csc301/frank/ch02/f orm.html ch02\form.html

3 GET http://www.example.com/script.php?name=H omer&gender=M&age=35 http://www.example.com/script.php?name=H omer&gender=M&age=35 GET is less secure since data is transmitted in the clear. GET is used for requesting information.

4 POST Form data is in the body of the packet. POST is used when an action is expected; updating of a database record or sending of an email.

5 handle_form.php Script 2.2 on page 42 http://csweb.hh.nku.edu/csc301/frank/ch02/s cript_02_02/form.html http://csweb.hh.nku.edu/csc301/frank/ch02/s cript_02_02/form.html ch02\script_02_02\handle_form.php - teletype text = monospace font


Download ppt "Chapter 2 Programming with PHP Part 1. form.html Script 2.1 on pages 37-8 orm.html"

Similar presentations


Ads by Google