Write a program to decode the data in the Form using CGI programming?
Write a program to decode the data in the Form using CGI programming?
- The data can be decoded using the normal form format and the data will be in the form of HTTP request.
- HTTP request are URLencoded and all the form data are encoded in the string and used in the form.
- The statement that is used in the form is
param1=value1¶m2=value2&...paramn=valuen
- Escape characters are used for this like "%XY" that represents the character string.
- Decoding of multipart/form-data is done by using the following encryption type method in HTML format:
<form method="POST" enctype="multipart/form-data">