1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
2 | <!--
|
---|
3 | * FCKeditor - The text editor for internet
|
---|
4 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
---|
5 | *
|
---|
6 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
7 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
8 | *
|
---|
9 | * For further information visit:
|
---|
10 | * http://www.fckeditor.net/
|
---|
11 | *
|
---|
12 | * "Support Open Source software. What about a donation today?"
|
---|
13 | *
|
---|
14 | * File Name: sampleposteddata.asp
|
---|
15 | * This page lists the data posted by a form.
|
---|
16 | *
|
---|
17 | * File Authors:
|
---|
18 | * Frederico Caldeira Knabben (fredck@fckeditor.net)
|
---|
19 | -->
|
---|
20 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
21 | <head>
|
---|
22 | <title>FCKeditor - Samples - Posted Data</title>
|
---|
23 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
---|
24 | <meta name="robots" content="noindex, nofollow" />
|
---|
25 | <link href="testcases.css" rel="stylesheet" type="text/css" />
|
---|
26 | </head>
|
---|
27 | <body>
|
---|
28 | <h1>
|
---|
29 | FCKeditor - Samples - Posted Data</h1>
|
---|
30 | <div>
|
---|
31 | This page lists all data posted by the form.
|
---|
32 | </div>
|
---|
33 | <hr />
|
---|
34 | <table width="100%" border="1" cellpadding="3" style="border-color: #999999; border-collapse: collapse;">
|
---|
35 | <tr style="font-weight: bold; color: #dddddd; background-color: #999999">
|
---|
36 | <td style="white-space: nowrap;">
|
---|
37 | Field Name </td>
|
---|
38 | <td>
|
---|
39 | Value</td>
|
---|
40 | </tr>
|
---|
41 | <% For Each sForm in Request.Form %>
|
---|
42 | <tr>
|
---|
43 | <td valign="top" style="white-space: nowrap;">
|
---|
44 | <b>
|
---|
45 | <%=sForm%>
|
---|
46 | </b>
|
---|
47 | </td>
|
---|
48 | <td style="width: 100%;">
|
---|
49 | <pre><%=ModifyForOutput( Request.Form(sForm) )%></pre>
|
---|
50 | </td>
|
---|
51 | </tr>
|
---|
52 | <% Next %>
|
---|
53 | </table>
|
---|
54 | </body>
|
---|
55 | </html>
|
---|
56 | <%
|
---|
57 |
|
---|
58 | ' This function is useful only for this sample page se whe can display the
|
---|
59 | ' posted data accordingly. This processing is usually not done on real
|
---|
60 | ' applications, where the posted data must be saved on a DB or file. In those
|
---|
61 | ' cases, no processing must be done, and the data is saved as posted.
|
---|
62 | Function ModifyForOutput( value )
|
---|
63 |
|
---|
64 | ModifyForOutput = Server.HTMLEncode( Request.Form(sForm) )
|
---|
65 |
|
---|
66 | End Function
|
---|
67 |
|
---|
68 | %>
|
---|