Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: PHP7
Post: RE: PHP7

Narf Wrote: (12-08-2015, 08:17 AM) -- It could be a quick fix, assuming it's really a bug, but we can't fix it unless you share the details. -- I wasn't actually looking for a fix as I'm happy usin...
72,593 Views
0 Replies
12-09-2015, 03:35 AM
matbeard
    Thread: PHP7
Post: RE: PHP7

Tested a pretty large CI 3.03 app on PHP7 and it runs largely okay. The only problem I had was with using 'files' for the session driver, but 'database' works perfectly (and 'files' would probably be ...
72,593 Views
0 Replies
12-08-2015, 07:30 AM
matbeard
    Thread: CSRF giving problem with ajax
Post: RE: CSRF giving problem with ajax

I use CSFR protection on my site which is massively Ajaxified. I use a jquery plugin (https://github.com/carhartl/jquery-cookie) that makes handling cookies simple: var csrf_token = $.cookie('csrf_...
27,537 Views
10 Replies
05-06-2015, 07:20 AM
matbeard
    Thread: is_ajax_request() doesn't work from mobile apps
Post: is_ajax_request() doesn't work from mobile apps

I'm not sure if this is expected or if there's an alternative, but is_ajax_request() doesn't work from when handling an ajax request from a mobile app. I'm developing an app using Phonegap, with my...
4,503 Views
2 Replies
04-07-2015, 04:39 AM
matbeard
    Thread: $config['csrf_exclude_uris'] seems to be ignored
Post: $config['csrf_exclude_uris'] seems to be ignored

I'm trying to exclude a certain controller/method from CSRF checks, but the $config['csrf_exclude_uris'] setting seems to be ignored. I'm posting information from a mobile app, but I keep getting a...
12,868 Views
0 Replies
04-01-2015, 06:37 AM
matbeard
    Thread: Native data types from MySQL - should be possible
Post: RE: Native data types from MySQL - should be possi...

Thanks. I won't bother asking why this can't be added to CI, but your suggestion works just fine. I'm loading my database connections in a MY_Controller, so I've just stuck your suggestion in there...
8,058 Views
0 Replies
03-12-2015, 01:14 AM
matbeard
    Thread: Native data types from MySQL - should be possible
Post: Native data types from MySQL - should be possible

Out of the box CodeIgniter does not return the correct data types from MySQL databases, regardless of which database driver you use (mysql, mysqli or PDO). This can lead to problems when using json_en...
8,058 Views
0 Replies
03-11-2015, 07:59 AM
matbeard
    Thread: Query builder documentation needs warning about using replace() function
Post: Query builder documentation needs warning about us...

Okay, so I know it's simple if you think about it, but sometimes people miss the obvious (I certainly did). If you use the replace() function in Query Builder, the record is first deleted: this mea...
2,468 Views
0 Replies
03-10-2015, 08:00 AM
matbeard
    Thread: sometimes get error Duplicate entry for key 'PRIMARY'
Post: RE: sometimes get error Duplicate entry for key 'P...

I'm having the same problem. It seems to be happening on ajax calls, but only over slow connections, perhaps when there is a delay between the initial page content loading and the ajax call being fire...
12,773 Views
3 Replies
02-26-2015, 04:49 AM
matbeard

Theme © iAndrew 2016 - Forum software by © MyBB