private function setPost()
    {
        if ($this->parameters['header']["Content-Type"] == "application/x-www-form-urlencoded") {
            if (isset($_GET)) {
                foreach ($_GET as $k => $v) {
                    $this->log->debug("[ _POST Params ]" . $k . ": " . $v, []);
                    $this->post->$k = $this->setSecurityLevel($v);
                    $this->parameters["post"][$k] = $this->setSecurityLevel($v);
                }
                unset($_GET);
            }
        }

        if (isset($_POST)) {
            foreach ($_POST as $k => $v) {
                if (is_array($v) == true) {
                    $this->log->debug("[ _POST Params ]" . $k . ": " . json_encode($v), []);
                } else {
                    $this->log->debug("[ _POST Params ]" . $k . ": " . $v, []);
                }
                $this->post->$k = $this->setSecurityLevel($v);
                $this->parameters["post"][$k] = $this->setSecurityLevel($v);
            }


            $rawData = file_get_contents("php://input");
            if (isset($rawData)) {
                $this->log->debug("[ POST RawData ] : " . $rawData, []);
                $this->parameters["post"]["raw"] = $rawData;
                $this->post->raw = $rawData;
            }

            unset($_POST);
        }
    }
private function setPost()
    {
        if ($this->parameters['header']["Content-Type"] == "application/x-www-form-urlencoded") {
            if (isset($_GET)) {
                foreach ($_GET as $k => $v) {
                    $this->log->debug("[ _POST Params ]" . $k . ": " . $v, []);
                    $this->post->$k = $this->setSecurityLevel($v);
                    $this->parameters["post"][$k] = $this->setSecurityLevel($v);
                }
                unset($_GET);
            }
        }

        if (isset($_POST)) {
            foreach ($_POST as $k => $v) {
                if (is_array($v) == true) {
                    $this->log->debug("[ _POST Params ]" . $k . ": " . json_encode($v), []);
                } else {
                    $this->log->debug("[ _POST Params ]" . $k . ": " . $v, []);
                }
                $this->post->$k = $this->setSecurityLevel($v);
                $this->parameters["post"][$k] = $this->setSecurityLevel($v);
            }


            $rawData = file_get_contents("php://input");
            if (isset($rawData)) {
                $this->log->debug("[ POST RawData ] : " . $rawData, []);
                $this->parameters["post"]["raw"] = $rawData;
                $this->post->raw = $rawData;
            }

            unset($_POST);
        }
    }
private function setPost ( ) { if ( $ this -> parameters [ 'header' ] [ "Content-Type" ] == "application/x-www-form-urlencoded" ) { if ( isset ( $ _GET ) ) { foreach ( $ _GET as $ k => $ v ) { $ this -> log -> debug ( "[ _POST Params ]" . $ k . ": " . $ v , [ ] ) ; $ this -> post -> $ k = $ this -> setSecurityLevel ( $ v ) ; $ this -> parameters [ "post" ] [ $ k ] = $ this -> setSecurityLevel ( $ v ) ; } unset ( $ _GET ) ; } } if ( isset ( $ _POST ) ) { foreach ( $ _POST as $ k => $ v ) { if ( is_array ( $ v ) == true ) { $ this -> log -> debug ( "[ _POST Params ]" . $ k . ": " . json_encode ( $ v ) , [ ] ) ; } else { $ this -> log -> debug ( "[ _POST Params ]" . $ k . ": " . $ v , [ ] ) ; } $ this -> post -> $ k = $ this -> setSecurityLevel ( $ v ) ; $ this -> parameters [ "post" ] [ $ k ] = $ this -> setSecurityLevel ( $ v ) ; } $ rawData = file_get_contents ( "php://input" ) ; if ( isset ( $ rawData ) ) { $ this -> log -> debug ( "[ POST RawData ] : " . $ rawData , [ ] ) ; $ this -> parameters [ "post" ] [ "raw" ] = $ rawData ; $ this -> post -> raw = $ rawData ; } unset ( $ _POST ) ; } }
POST Method and Parameter Information and assign via for framework
POST Method and Parameter Information and assign via for framework