mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 07:42:33 +01:00
Author:admin
Date:2008-09-25T16:19:15.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@44 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[[Property:uuid|da8f72cb-0ecd-464a-a558-cbf7d24301e3]]
|
||||
This sample shows how to retrieve and display information from a basic form on a web page.
|
||||
|
||||
{{note| '''Note:''' This sample requires a web server supporting CGI in order to be run. Both the Internet Information Services web server from Microsoft and the GNU Apache server may be used.
|
||||
{{note|This sample requires a web server supporting CGI in order to be run. Both the Internet Information Services web server from Microsoft and the GNU Apache server may be used.
|
||||
==Compiling==
|
||||
|
||||
To compile the example:
|
||||
|
||||
@@ -23,7 +23,7 @@ The browser sends in the ''In'' a stream containing the data relative to the use
|
||||
|
||||
The response has to contain an HTTP header in order to be understood by the browser. Depending on the nature of the reply, an HTML page, a simple re-direction, an error notification, you will select different features and options. Your application must send at least a response header, indicating the status of the request if known. You may want to attach to it the text you wish to send back to the user. This text is usually written in HTML, so that it will display nicely on the user's browser; you can use for this purpose the class HTML_PAGE. You may then send the header followed by your text using the features send_to_browser of classes CGI_RESPONSE_HEADER and HTML_PAGE.
|
||||
|
||||
{{note| '''Note''': You may not write into a file before you have sent the answer to the browser. }}
|
||||
{{note|You may not write into a file before you have sent the answer to the browser. }}
|
||||
|
||||
===Dealing with Cookies===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user