X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Fassets%2F_posteddata.php;h=1f7a9d5ce73bd2ee691f21d08bab3a6924512215;hp=a30f93dd93cc3b93620f629e610c21356f29fda6;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hpb=a272c66d841421f8bf933c16535bdcde1c4649fc diff --git a/_samples/assets/_posteddata.php b/_samples/assets/_posteddata.php index a30f93d..1f7a9d5 100644 --- a/_samples/assets/_posteddata.php +++ b/_samples/assets/_posteddata.php @@ -1,59 +1,59 @@ - - - - - Sample — CKEditor - - - - -

- CKEditor — Posted Data -

- - - - - - - - - $value ) -{ - if ( get_magic_quotes_gpc() ) - $postedValue = htmlspecialchars( stripslashes( $value ) ) ; - else - $postedValue = htmlspecialchars( $value ) ; - -?> - - - - - -
Field NameValue
- - - + + + + + Sample — CKEditor + + + + +

+ CKEditor — Posted Data +

+ + + + + + + + + $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 ); +?> + + + + + +
Field NameValue
+ + +