framework/Mvc/Extensions/Ckfinder/lib/core/connector/php/php5/Utils/Security.php
public function getRidOfMagicQuotes()
    {
        if (CKFINDER_CONNECTOR_PHP_MODE<6 && get_magic_quotes_gpc()) {
            if (!empty($_GET)) {
                $this->stripQuotes($_GET);
            }
            if (!empty($_POST)) {
                $this->stripQuotes($_POST);
            }
            if (!empty($_COOKIE)) {
                $this->stripQuotes($_COOKIE);
            }
            if (!empty($_FILES)) {
                while (list($k,$v) = each($_FILES)) {
                    if (isset($_FILES[$k]['name'])) {
                        $this->stripQuotes($_FILES[$k]['name']);
                    }
                }
            }
        }
    }
public function getRidOfMagicQuotes()
    {
        if (CKFINDER_CONNECTOR_PHP_MODE<6 && get_magic_quotes_gpc()) {
            if (!empty($_GET)) {
                $this->stripQuotes($_GET);
            }
            if (!empty($_POST)) {
                $this->stripQuotes($_POST);
            }
            if (!empty($_COOKIE)) {
                $this->stripQuotes($_COOKIE);
            }
            if (!empty($_FILES)) {
                while (list($k,$v) = each($_FILES)) {
                    if (isset($_FILES[$k]['name'])) {
                        $this->stripQuotes($_FILES[$k]['name']);
                    }
                }
            }
        }
    }
public function getRidOfMagicQuotes ( ) { if ( CKFINDER_CONNECTOR_PHP_MODE < 6 && get_magic_quotes_gpc ( ) ) { if ( ! empty ( $ _GET ) ) { $ this -> stripQuotes ( $ _GET ) ; } if ( ! empty ( $ _POST ) ) { $ this -> stripQuotes ( $ _POST ) ; } if ( ! empty ( $ _COOKIE ) ) { $ this -> stripQuotes ( $ _COOKIE ) ; } if ( ! empty ( $ _FILES ) ) { while ( list ( $ k , $ v ) = each ( $ _FILES ) ) { if ( isset ( $ _FILES [ $ k ] [ 'name' ] ) ) { $ this -> stripQuotes ( $ _FILES [ $ k ] [ 'name' ] ) ; } } } } }
Strip quotes from global arrays
@access public
Strip quotes from global arrays