Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Unable to access value from controller to view..
Post: RE: Unable to access value from controller to view...

Paste your code from controller and view ;)
5,520 Views
4 Replies
08-13-2015, 07:44 AM
Ridd
    Thread: Ajax and Controller
Post: RE: Ajax and Controller

url should be full and don't use print_r , just echo, for example : Code: --                $.ajax({                    type: "POST",                    dataType: "text",                  ...
3,857 Views
1 Replies
08-13-2015, 06:46 AM
Ridd
    Thread: Safe escape
Post: RE: Safe escape

kenjis Wrote: (08-12-2015, 09:06 PM) -- Your code is bad practice for security. Validation has nothing to do with it. -- So, could you show me good practice?
14,056 Views
7 Replies
08-13-2015, 05:29 AM
Ridd
    Thread: Safe escape
Post: RE: Safe escape

Of course I always validate user input, thanks. So my queries are ok or I should change something?
14,056 Views
7 Replies
08-12-2015, 03:53 PM
Ridd
    Thread: Safe escape
Post: Safe escape

Hello, When I do something like this: Code: -- $data = array(      'user_id' => $id,      'followed_user_id' => $followed, ); $this->db->insert('users_follows', $data); -- It's saf...
14,056 Views
7 Replies
08-12-2015, 03:31 PM
Ridd
    Thread: Safe output
Post: RE: Safe output

Thanks, so what function I should use to clean output? How I can do that correctly?
19,442 Views
11 Replies
07-02-2015, 06:39 AM
Ridd
    Thread: Safe output
Post: Safe output

Hello, I have been thinking how to safely output data from my database using Codeigniter 3. On input I use form validation (e.x required, alpha..) but I don't use xss_clean (I read it's bad pract...
19,442 Views
11 Replies
06-29-2015, 03:10 PM
Ridd

Theme © iAndrew 2016 - Forum software by © MyBB