BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan

BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan (http://bzupages.com/index.php)
-   Web Development (http://bzupages.com/forumdisplay.php?f=7)
-   -   Lecture on Form designing (http://bzupages.com/showthread.php?t=81)

.BZU. 20-11-2007 12:12 PM

Lecture on Form designing
 
1 Attachment(s)
Download the Attachment with complete lecture:angrymod:

Starting Outline:cheer_icoon:

*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.


All times are GMT +5. The time now is 09:00 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.