PluginProbe
Wp-Insert / 1.2
Wp-Insert v1.2
trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.3.0 1.3.1 1.3.3 1.4 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 2.0 All 63 releases
wp-insert / fckeditor / _samples / php / sampleposteddata.php

sampleposteddata.php in Wp-Insert 1.2, at fckeditor/_samples/php/sampleposteddata.php

139 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4
5 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
6
7 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
8
9 *
10
11 * == BEGIN LICENSE ==
12
13 *
14
15 * Licensed under the terms of any of the following licenses at your
16
17 * choice:
18
19 *
20
21 * - GNU General Public License Version 2 or later (the "GPL")
22
23 * http://www.gnu.org/licenses/gpl.html
24
25 *
26
27 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
28
29 * http://www.gnu.org/licenses/lgpl.html
30
31 *
32
33 * - Mozilla Public License Version 1.1 or later (the "MPL")
34
35 * http://www.mozilla.org/MPL/MPL-1.1.html
36
37 *
38
39 * == END LICENSE ==
40
41 *
42
43 * This page lists the data posted by a form.
44
45 */
46
47 ?>
48
49 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
50
51 <html>
52
53 <head>
54
55 <title>FCKeditor - Samples - Posted Data</title>
56
57 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
58
59 <meta name="robots" content="noindex, nofollow">
60
61 <link href="../sample.css" rel="stylesheet" type="text/css" >
62
63 </head>
64
65 <body>
66
67 <h1>FCKeditor - Samples - Posted Data</h1>
68
69 This page lists all data posted by the form.
70
71 <hr>
72
73 <table border="1" cellspacing="0" id="outputSample">
74
75 <colgroup><col width="80"><col></colgroup>
76
77 <thead>
78
79 <tr>
80
81 <th>Field Name</th>
82
83 <th>Value</th>
84
85 </tr>
86
87 </thead>
88
89 <?php
90
91
92
93 if ( isset( $_POST ) )
94
95 $postArray = &$_POST ; // 4.1.0 or later, use $_POST
96
97 else
98
99 $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
100
101
102
103 foreach ( $postArray as $sForm => $value )
104
105 {
106
107 if ( get_magic_quotes_gpc() )
108
109 $postedValue = htmlspecialchars( stripslashes( $value ) ) ;
110
111 else
112
113 $postedValue = htmlspecialchars( $value ) ;
114
115
116
117 ?>
118
119 <tr>
120
121 <th><?php echo $sForm?></th>
122
123 <td><pre><?php echo $postedValue?></pre></td>
124
125 </tr>
126
127 <?php
128
129 }
130
131 ?>
132
133 </table>
134
135 </body>
136
137 </html>
138
139