Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: [SOLVED] CSRF issue in only one controller
Post: RE: CSRF issue in only one controller

Ok Ive found the solution it was about the contentType: "application/json; charset=utf-8" which empty the $POST vars delete this and it works like a charm ! I hope it will help.
2,869 Views
1 Replies
06-30-2017, 02:25 AM
brian85
    Thread: [SOLVED] CSRF issue in only one controller
Post: [SOLVED] CSRF issue in only one controller

Good morning, I'm used to load ajax controllers with jquery ajax, I know that I must send  : Code: -- data: {'': ''}, -- It works perfectly for all my contollers behind except one wich works wh...
2,869 Views
1 Replies
06-30-2017, 01:57 AM
brian85
    Thread: auto generating models from DB solution
Post: RE: auto generating models from DB solution

PaulD Wrote: (12-20-2016, 11:35 AM) -- buoncri Wrote: (12-20-2016, 12:16 AM) -- On other hand you can use a my_model like these: https://github.com/jamierumbelow/codeigniter-base-model or https:/...
12,004 Views
7 Replies
12-20-2016, 01:06 PM
brian85
    Thread: auto generating models from DB solution
Post: RE: auto generating models from DB solution

Diederik Wrote: (12-20-2016, 02:11 AM) -- I have created my own generator (webbased) wich generates a zip file with an HMVC module with a basic controller (public and admin), a model (with validation...
12,004 Views
7 Replies
12-20-2016, 01:00 PM
brian85
    Thread: auto generating models from DB solution
Post: RE: auto generating models from DB solution

PaulD Wrote: (12-19-2016, 04:24 PM) -- There are lots of good looking CRUD generators for CI around. Personally I played with one (and it was interesting to say the least) but in the end I never actu...
12,004 Views
7 Replies
12-20-2016, 12:57 PM
brian85
    Thread: auto generating models from DB solution
Post: auto generating models from DB solution

Hello, I really appreciate codeIgniter wich is my favorite framework but I think that CI need a TOP must have feature : an auto models generating process from db. This is very important because wh...
12,004 Views
7 Replies
12-19-2016, 01:01 PM
brian85
    Thread: Something wrong in my model
Post: RE: Something wrong in my model

Thanks for this trick I'll test it soon  :)
4,914 Views
3 Replies
03-04-2016, 01:43 AM
brian85
    Thread: Something wrong in my model
Post: [SOLVED]RE: Something wrong in my model

I answer myself I've found the way here is my corrected model function find() :   PHP Code: -- public function find($value) {        $this->load->database();        $q = $this->db->get_where("...
4,914 Views
3 Replies
03-03-2016, 02:43 PM
brian85
    Thread: Something wrong in my model
Post: Something wrong in my model

Hi, I'm working in CI 2.2 I'm having trouble with my model : PHP Code: -- class Stages_model extends CI_Model {    private $id_stages; public function set_sessions() {        $array_se...
4,914 Views
3 Replies
03-03-2016, 01:40 PM
brian85

Theme © iAndrew 2016 - Forum software by © MyBB