Top Document: FAQ: Frequently Asked Questions about CGI Programming Previous Document: 1.17 What is CGIWrap, and how does it affect my program? Next Document: SECTION 2 - HTTP HEADERS AND NPH SCRIPTS See reader questions & answers on this topic! - Help others by sharing your knowledge The normal format for data in HTTP requests is URLencoded. All Form data is encoded in a string, of the form param1=value1¶m2=value2&...paramn=valuen Many non-alphanumeric characters are "escaped" in the encoding: the character whose hexadecimal number is "XY" will be represented by the character string "%XY". Decoding this string is a fundamental function of every CGI library. Another format is "multipart/form-data", also known as "file upload". You will get this from the HTML markup <form method="POST" enctype="multipart/form-data"> (but note you must accept URLencoded input in any case, since not all browsers support multipart forms). Most(?) CGI libraries will handle this transparently. User Contributions:Top Document: FAQ: Frequently Asked Questions about CGI Programming Previous Document: 1.17 What is CGIWrap, and how does it affect my program? Next Document: SECTION 2 - HTTP HEADERS AND NPH SCRIPTS Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: Nick Kew <nick@webthing.com>
Last Update March 27 2014 @ 02:12 PM
|
Comment about this article, ask questions, or add new information about this topic: