1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
4 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
\r
5 For licensing, see LICENSE.html or http://ckeditor.com/license
\r
8 <html xmlns="http://www.w3.org/1999/xhtml">
\r
10 <title>Sample - CKEditor</title>
\r
11 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
\r
12 <link type="text/css" rel="stylesheet" href="sample.css" />
\r
16 CKEditor - Posted Data
\r
18 <table border="1" cellspacing="0" id="outputSample">
\r
19 <colgroup><col width="100" /></colgroup>
\r
22 <th>Field Name</th>
\r
28 if ( isset( $_POST ) )
\r
29 $postArray = &$_POST ; // 4.1.0 or later, use $_POST
\r
31 $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
\r
33 foreach ( $postArray as $sForm => $value )
\r
35 if ( get_magic_quotes_gpc() )
\r
36 $postedValue = htmlspecialchars( stripslashes( $value ) ) ;
\r
38 $postedValue = htmlspecialchars( $value ) ;
\r
42 <th style="vertical-align: top"><?php echo $sForm?></th>
\r
43 <td><pre><?php echo $postedValue?></pre></td>
\r
52 CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
\r
55 Copyright © 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
\r