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