if($_GET) {
	foreach ($_GET as $key => $value) {
		$data[$key] = $this->input->get($key);
	}
}

if($_POST) {
	foreach ($_POST as $key => $value) {
		$data[$key] = $this->input->post($key);
	}
}

if($_COOKIE) {
	foreach ($_COOKIE as $key => $value) {
		$data[$key] = $this->input->cookie($key);
	}
}

if($_SERVER) {
	foreach ($_SERVER as $key => $value) {
		$data[$key] = $this->input->server($key);
	}
}

블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,