3
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
8
* Licensed under the terms of any of the following licenses at your
11
* - GNU General Public License Version 2 or later (the "GPL")
12
* http://www.gnu.org/licenses/gpl.html
14
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
* http://www.gnu.org/licenses/lgpl.html
17
* - Mozilla Public License Version 1.1 or later (the "MPL")
18
* http://www.mozilla.org/MPL/MPL-1.1.html
22
* This page lists the data posted by a form.
25
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
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" />
34
<h1>FCKeditor - Samples - Posted Data</h1>
35
This page lists all data posted by the form.
37
<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
38
<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
39
<td nowrap>Field Name </td>
44
if ( isset( $_POST ) )
45
$postArray = &$_POST ; // 4.1.0 or later, use $_POST
47
$postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
49
foreach ( $postArray as $sForm => $value )
51
if ( get_magic_quotes_gpc() )
52
$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
54
$postedValue = htmlspecialchars( $value ) ;
58
<td valign="top" nowrap><b><?=$sForm?></b></td>
59
<td width="100%"><?=$postedValue?></td>