Difference between revisions of "AIM Class8"

esse quam videri
Jump to: navigation, search
(Simple GET)
Line 8: Line 8:
  
 
===Simple GET===
 
===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.
+
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
 
http://iam.colum.edu/AIM/class8/simpleGet.html
  Here is the simpleGet.aspx [http://iam.colum.edu/aim/gbrowser.php?file=/Class8/simpleGet.aspx source] for those that are interasted
+
  Here is the simpleGet.aspx [http://iam.colum.edu/aim/gbrowser.php?file=/Class8/simpleGet.aspx source] for those that are interested
  
 
===Simple POST===
 
===Simple POST===

Revision as of 21:00, 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 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

AIM Assignment 6 Web Forms

Reading

Links

http://php.net
http://www.w3schools.com/php/default.asp
http://www.w3schools.com/html/html_forms.asp