Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Pre format rules ignored - CI4 Validation
Post: RE: Pre format rules ignored - CI4 Validation

InsiteFX Wrote: (10-23-2020, 05:24 PM) -- You need to run it through the validation. -- I did create rules that has 'trim' rule, Run the validation and I got true. Input had spaces: '   sammiel  ...
4,154 Views
5 Replies
10-23-2020, 11:03 PM
SammieL
    Thread: Pre format rules ignored - CI4 Validation
Post: Pre format rules ignored - CI4 Validation

Hi Team, If I apply any rule to CI4 Validation that returns string instead of boolean, that rule is skipped. No effect on data output / formatting. Like this. PHP Code: -- $validation->setRu...
4,154 Views
5 Replies
10-23-2020, 01:08 PM
SammieL
    Thread: CodeIgniter CSRF Protection With Ajax
Post: RE: CodeIgniter CSRF Protection With Ajax

spjonez Wrote: (09-15-2016, 05:52 AM) -- If you're regenerating tokens what you posted won't work since you aren't updating the cookie's value after each request. If you want to use regenerate=true y...
16,877 Views
5 Replies
09-15-2016, 06:05 AM
SammieL
    Thread: CodeIgniter CSRF Protection With Ajax
Post: CodeIgniter CSRF Protection With Ajax

Hi! CI Forum Members, I am developing an application using CI. Most of My forms use Ajax to push data to the server. I am currently working on adding CSRF protection to all my forms. I read this...
16,877 Views
5 Replies
09-15-2016, 02:54 AM
SammieL

Theme © iAndrew 2016 - Forum software by © MyBB