[eluser]Unknown[/eluser]
[quote author="Colin Williams" date="1233115776"]Hrm.. for request method, you could just do $this->input->server('REQUEST_METHOD');[/quote]
Idea was to write this:
Code:
if($this->input->is_post() === TRUE) {
//do this all waht you need only on post, like validation and show next screen for example
}
instead:
Code:
if (strtolower($this->input->server(‘REQUEST_METHOD’)) == 'post') {
//......
}
What easier to use and find in docs?