[ Index ] |
|
Code source de FCKeditor 2.4 |
1 <?php 2 /* 3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 4 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 5 * 6 * == BEGIN LICENSE == 7 * 8 * Licensed under the terms of any of the following licenses at your 9 * choice: 10 * 11 * - GNU General Public License Version 2 or later (the "GPL") 12 * http://www.gnu.org/licenses/gpl.html 13 * 14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 15 * http://www.gnu.org/licenses/lgpl.html 16 * 17 * - Mozilla Public License Version 1.1 or later (the "MPL") 18 * http://www.mozilla.org/MPL/MPL-1.1.html 19 * 20 * == END LICENSE == 21 * 22 * File Name: sampleposteddata.php 23 * This page lists the data posted by a form. 24 * 25 * File Authors: 26 * Frederico Caldeira Knabben (www.fckeditor.net) 27 * Jim Michaels (jmichae3@yahoo.com) 28 */ 29 ?> 30 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 31 <html> 32 <head> 33 <title>FCKeditor - Samples - Posted Data</title> 34 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 35 <meta name="robots" content="noindex, nofollow"> 36 <link href="../sample.css" rel="stylesheet" type="text/css" /> 37 </head> 38 <body> 39 <h1>FCKeditor - Samples - Posted Data</h1> 40 This page lists all data posted by the form. 41 <hr> 42 <table width="100%" border="1" cellspacing="0" bordercolor="#999999"> 43 <tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999"> 44 <td nowrap>Field Name </td> 45 <td>Value</td> 46 </tr> 47 <?php 48 49 if ( isset( $_POST ) ) 50 $postArray = &$_POST ; // 4.1.0 or later, use $_POST 51 else 52 $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS 53 54 foreach ( $postArray as $sForm => $value ) 55 { 56 if ( get_magic_quotes_gpc() ) 57 $postedValue = htmlspecialchars( stripslashes( $value ) ) ; 58 else 59 $postedValue = htmlspecialchars( $value ) ; 60 61 ?> 62 <tr> 63 <td valign="top" nowrap><b><?=$sForm?></b></td> 64 <td width="100%"><?=$postedValue?></td> 65 </tr> 66 <?php 67 } 68 ?> 69 </table> 70 </body> 71 </html>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 15:28:05 2007 | par Balluche grâce à PHPXref 0.7 |