Difference between revisions of "AIM Class8"
(→Simple POST) |
(→Simple POST) |
||
Line 17: | Line 17: | ||
http://iam.colum.edu/AIM/class8/simplePost.html | http://iam.colum.edu/AIM/class8/simplePost.html | ||
− | Here is the simplePost.aspx [http://iam.colum.edu/aim/gbrowser.php?file=/Class8/simplePost.aspx source] for those that are | + | Here is the simplePost.aspx [http://iam.colum.edu/aim/gbrowser.php?file=/Class8/simplePost.aspx source] for those that are interested |
All HTML input types | All HTML input types |
Revision as of 21:01, 15 August 2006
Class 8
Web Forms
HTML Form Example
Simple GET
This is a simple example of an html form that has two text fields. One called 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 interested
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 subtle change 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 interested
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