Path: blob/master/ckeditor_4.6.2/samples/old/assets/posteddata.php
1006 views
<!DOCTYPE html>1<?php2/*3Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.4For licensing, see LICENSE.md or http://ckeditor.com/license5*/6?>7<html>8<head>9<meta charset="utf-8">10<title>Sample — CKEditor</title>11<link rel="stylesheet" href="sample.css">12</head>13<body>14<h1 class="samples">15CKEditor — Posted Data16</h1>17<table border="1" cellspacing="0" id="outputSample">18<colgroup><col width="120"></colgroup>19<thead>20<tr>21<th>Field Name</th>22<th>Value</th>23</tr>24</thead>25<?php2627if (!empty($_POST))28{29foreach ( $_POST as $key => $value )30{31if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )32continue;3334if ( get_magic_quotes_gpc() )35$value = htmlspecialchars( stripslashes((string)$value) );36else37$value = htmlspecialchars( (string)$value );38?>39<tr>40<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>41<td><pre class="samples"><?php echo $value; ?></pre></td>42</tr>43<?php44}45}46?>47</table>48<div id="footer">49<hr>50<p>51CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>52</p>53<p id="copy">54Copyright © 2003-2017, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.55</p>56</div>57</body>58</html>596061