Welcome Guest, Not a member yet? Register   Sign In
Do I need escaping url on each method?
#3

(This post was last modified: 09-24-2018, 10:57 AM by wishmaster.)

I use extended controller scheme.

Code:
class MY_Controller extends CI_Controller {

       protected $uris = array();

       function __construct() {
           parent::__construct();

           $this->uris = $this->uri->uri_to_assoc(3);
        }
.....
}

I use the next uri scheme:
Code:
http://mysite.com/admin/page/index/filter_name/foo/per_page/5/baz/bar
Reply


Messages In This Thread
RE: Do I need escaping url on each method? - by wishmaster - 09-24-2018, 10:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB