Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CSRF only on POST request, reason?
Post: RE: CSRF only on POST request, reason?

If you want, you can regenerate the CSRF in this way in your Controller. Code: -- $csrf = array(            'name' => $this->security->get_csrf_token_name(),            'hash' => $this->secu...
14,350 Views
0 Replies
03-06-2015, 06:51 AM
james
    Thread: Codeigniter 3 | JqGrid | CSRF
Post: RE: Codeigniter 3 | JqGrid | CSRF

If you want, you can regenerate the CSRF in this way in your Controller. Code: -- $csrf = array(            'name' => $this->security->get_csrf_token_name(),            'hash' => $this->secu...
13,895 Views
0 Replies
02-26-2015, 01:56 PM
james
    Thread: New Excitement!
Post: RE: New Excitement!

I had tested different frameworks, but CodeIgniter is Unique, Performatic and Simple! CodeIgniter is Great! I love it!
3,127 Views
0 Replies
02-26-2015, 01:53 PM
james
  Thumbs Up Thread: URL problem
Post: RE: URL problem

Hello, You do'nt need to set the whole URI in $config['base_url'] set only Code: -- $config['base_url'] = '//localhost/codeignator/' -- Because your $config['index_page'] should look ...
10,905 Views
0 Replies
02-26-2015, 08:55 AM
james
  Thumbs Up Thread: How to return a view to an ajax call ?
Post: RE: How to return a view to an ajax call ?

If you want to get a result in json, you can do so: Code: -- $data = $this->upload->data(); $this->output                ->set_content_type('application/json')                ->set_output(j...
5,283 Views
0 Replies
02-26-2015, 08:31 AM
james

Theme © iAndrew 2016 - Forum software by © MyBB