View Single Post
  #1  
Old 20-11-2007, 12:12 PM
.BZU.'s Avatar
.BZU. .BZU. is offline


 
Join Date: Sep 2007
Location: near Govt College of Science Multan Pakistan
Posts: 9,693
Contact Number: Removed
Program / Discipline: BSIT
Class Roll Number: 07-15
.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute
Default Lecture on Form designing

Download the Attachment with complete lecture

Starting Outline

*Form*

?: This element defines the fill-in form to contain labels and form controls, such as menus and text entry boxes that might be filled in by a user.

Attributes:

action= ?URL?

?This attribute contains the URL of the server program, which will process the contents of the form. Some browsers also might support a mailto URL, which can mail the result to the specified address. E.g.,
action=mailto:abc@hotmail.com
method=?get | post?

?This attribute indicates how form information should be transferred to the server specified by the action attribute.
Get:
1. This is default method.
2. This is not secure method because the input is appended to the URL specified by the action attribute.
3. By this method limited data can be passed, this limit is determined by command line length supported by the server.
4. This causes problems with foreign languages.
5. This is easy to deal with and gives best performance.
6. When Information is attached to the URL then some symbols are added which have specific meanings that are;
a. %nn ? for special characters, nn for hexadecimal ASCII code for character.
b. & ? To separate form fields.
c. + ? To replace spaces.
d. ??To separate the URL from form information/data.
Post:

1. This method transfers data using HTTP post transaction.
2. This approach is more secure.
3. Is normally used in conditions when large amount of data is passed, as this imposes no data size limitation.
4. Sends all data / input of form as data stream immediately after the requested URL.
Attached Files
File Type: doc Form Lecture .doc (56.0 KB, 204 views)
__________________
(¯`v´¯)
`*.¸.*`

¸.*´¸.*´¨) ¸.*´¨)
(¸.*´ (¸.
Bzu Forum

Don't cry because it's over, smile because it happened
Reply With Quote