X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=samples%2Fassets%2Fposteddata.php;h=bb45656b62b133075117a77c526e863bbd7b8d2a;hp=8ec398bd4291241f808cffc655f955bae28dea29;hb=70e367bc436565d37ed3e6704847a0a74242e5c8;hpb=860af3c4bde9866c53d5123c57e3dc6166e0fe1e
diff --git a/samples/assets/posteddata.php b/samples/assets/posteddata.php
index 8ec398b..bb45656 100644
--- a/samples/assets/posteddata.php
+++ b/samples/assets/posteddata.php
@@ -1,59 +1,59 @@
-
-
-
-
-
- Sample — CKEditor
-
-
-
-
- CKEditor — Posted Data
-
-
-
-
-
- Field Name |
- Value |
-
-
- $value )
-{
- if ( get_magic_quotes_gpc() )
- $postedValue = htmlspecialchars( stripslashes( $value ) ) ;
- else
- $postedValue = htmlspecialchars( $value ) ;
-
-?>
-
- |
- |
-
-
-
-
-
-
+
+
+
+
+
+ Sample — CKEditor
+
+
+
+
+ CKEditor — Posted Data
+
+
+
+
+
+ Field Name |
+ Value |
+
+
+ $value )
+ {
+ if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
+ continue;
+
+ if ( get_magic_quotes_gpc() )
+ $value = htmlspecialchars( stripslashes((string)$value) );
+ else
+ $value = htmlspecialchars( (string)$value );
+?>
+
+ |
+ |
+
+
+
+
+
+