--- /dev/null
+<?php\r
+/*\r
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben\r
+ *\r
+ * == BEGIN LICENSE ==\r
+ *\r
+ * Licensed under the terms of any of the following licenses at your\r
+ * choice:\r
+ *\r
+ * - GNU General Public License Version 2 or later (the "GPL")\r
+ * http://www.gnu.org/licenses/gpl.html\r
+ *\r
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ * http://www.gnu.org/licenses/lgpl.html\r
+ *\r
+ * - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ * http://www.mozilla.org/MPL/MPL-1.1.html\r
+ *\r
+ * == END LICENSE ==\r
+ *\r
+ * This page lists the data posted by a form.\r
+ */\r
+?>\r
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
+<html>\r
+ <head>\r
+ <title>FCKeditor - Samples - Posted Data</title>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
+ <meta name="robots" content="noindex, nofollow">\r
+ <link href="../sample.css" rel="stylesheet" type="text/css" >\r
+ </head>\r
+ <body>\r
+ <h1>FCKeditor - Samples - Posted Data</h1>\r
+ This page lists all data posted by the form.\r
+ <hr>\r
+ <table border="1" cellspacing="0" id="outputSample">\r
+ <colgroup><col width="80"><col></colgroup>\r
+ <thead>\r
+ <tr>\r
+ <th>Field Name</th>\r
+ <th>Value</th>\r
+ </tr>\r
+ </thead>\r
+<?php\r
+\r
+if ( isset( $_POST ) )\r
+ $postArray = &$_POST ; // 4.1.0 or later, use $_POST\r
+else\r
+ $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS\r
+\r
+foreach ( $postArray as $sForm => $value )\r
+{\r
+ if ( get_magic_quotes_gpc() )\r
+ $postedValue = htmlspecialchars( stripslashes( $value ) ) ;\r
+ else\r
+ $postedValue = htmlspecialchars( $value ) ;\r
+\r
+?>\r
+ <tr>\r
+ <th><?php echo $sForm?></th>\r
+ <td><pre><?php echo $postedValue?></pre></td>\r
+ </tr>\r
+<?php\r
+}\r
+?>\r
+ </table>\r
+ </body>\r
+</html>\r