PluginProbe
Wp-Insert / 1.5.2
Wp-Insert v1.5.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.5.2, at fckeditor/_samples/php/sampleposteddata.php

70 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 *
6 * == BEGIN LICENSE ==
7 *
8 * Licensed under the terms of any of the following licenses at your
9 * choice:
10 *
11 * - GNU General Public License Version 2 or later (the "GPL")
12 * http://www.gnu.org/licenses/gpl.html
13 *
14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 * http://www.gnu.org/licenses/lgpl.html
16 *
17 * - Mozilla Public License Version 1.1 or later (the "MPL")
18 * http://www.mozilla.org/MPL/MPL-1.1.html
19 *
20 * == END LICENSE ==
21 *
22 * This page lists the data posted by a form.
23 */
24 ?>
25 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
26 <html>
27 <head>
28 <title>FCKeditor - Samples - Posted Data</title>
29 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
30 <meta name="robots" content="noindex, nofollow">
31 <link href="../sample.css" rel="stylesheet" type="text/css" >
32 </head>
33 <body>
34 <h1>FCKeditor - Samples - Posted Data</h1>
35 This page lists all data posted by the form.
36 <hr>
37 <table border="1" cellspacing="0" id="outputSample">
38 <colgroup><col width="80"><col></colgroup>
39 <thead>
40 <tr>
41 <th>Field Name</th>
42 <th>Value</th>
43 </tr>
44 </thead>
45 <?php
46
47 if ( isset( $_POST ) )
48 $postArray = &$_POST ; // 4.1.0 or later, use $_POST
49 else
50 $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
51
52 foreach ( $postArray as $sForm => $value )
53 {
54 if ( get_magic_quotes_gpc() )
55 $postedValue = htmlspecialchars( stripslashes( $value ) ) ;
56 else
57 $postedValue = htmlspecialchars( $value ) ;
58
59 ?>
60 <tr>
61 <th><?php echo $sForm?></th>
62 <td><pre><?php echo $postedValue?></pre></td>
63 </tr>
64 <?php
65 }
66 ?>
67 </table>
68 </body>
69 </html>
70