Difference between revisions of "AIM Class8"
(→PHP) |
|||
Line 1: | Line 1: | ||
+ | [[Category:AIM]] | ||
+ | |||
Class 8 | Class 8 | ||
Revision as of 18:20, 25 June 2006
Class 8
Web Forms
HTML Form Example
Simple GET
This is a simple example of an html form that have two text fields. One call FirstName and one called LastName. The two fields are sent via a get request to an aspx apge that displays the results.
http://iam.colum.edu/AIM/class8/simpleGet.html
Here is the simpleGet.aspx source for those that are interasted
Simple POST
Same a the simple GET page except the page uses a POST instead of a get. Notice that the variables do not show up in the querysting to the action page. The variables here are sent in the http header. You may also notice there is a syblt cahnge in the way that aspx read these varibales.
http://iam.colum.edu/AIM/class8/simplePost.html
Here is the simplePost.aspx source for those that are interasted
All HTML input types http://iam.colum.edu/AIM/class8/htmlFormExample.html
PHP
TODO write something about php here....
Homework
Reading
Links
http://php.net
http://www.w3schools.com/php/default.asp
http://www.w3schools.com/html/html_forms.asp