[eluser]XssLab[/eluser]
Hello, I have a problem with a
Code:
$this->input->get();
method to obtain a _GET value of url in my web site...
For example, the url string is:
Code:
upload_form/?id=11&type=0&image_type=screenshot
And my code is:
Code:
function upload_form()
{
$this->logged_in();
if($this->input->get('image_type', TRUE) == 'screenshot')
{
$this->load->view('upload_image_form');
return false;
}
else
{
$this->load->view('upload_plant_form');
return false;
}
}
But the conditional if doesn't work!
where is the problem of ->input->get method?