Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Applying multiple filters on a single route definition
Post: RE: Applying multiple filters on a single route de...

Bump! I would also like to know the answer to this question. Edit: Filter arguments(https://www.codeigniter.com/user_guide/incoming/filters.html?#filter-arguments) - My problem is not all filter rec...
8,161 Views
7 Replies
01-08-2022, 08:30 AM
arma7x
    Thread: Execute bootstrapEnvironment() & detectEnvironment() before Services::exceptions()
Post: Execute bootstrapEnvironment() & detectEnvironment...

I did override current Services::exceptions() and my new Services::exceptions() need to access specific value of CONSTANT loaded from custom boot files based upon the current environment. So why not ...
1,421 Views
0 Replies
06-19-2020, 01:19 PM
arma7x
    Thread: How to use silexphp/Pimple in Codeigniter 3
Post: RE: How to use silexphp/Pimple in Codeigniter 3

Just simple solution for me. CI hooks really helpful to inject third party libraries into container.
5,717 Views
2 Replies
04-15-2019, 11:23 PM
arma7x
    Thread: How to use silexphp/Pimple in Codeigniter 3
Post: How to use silexphp/Pimple in Codeigniter 3

I made a video tutorial on how to use silexphp/Pimple in CI3 How to use silexphp/Pimple in Codeigniter 3(Youtube) (https://youtu.be/hVL-yNQnt2g)
5,717 Views
2 Replies
04-15-2019, 10:04 PM
arma7x
    Thread: Concept of OAuth login - Step after the access token
Post: RE: Concept of OAuth login - Step after the access...

https://aaronparecki.com/oauth-2-simplified/
5,548 Views
3 Replies
05-24-2018, 03:42 PM
arma7x
    Thread: Reduce loading time
Post: RE: Reduce loading time

paul Wrote: (05-05-2017, 03:27 PM) -- Hello The home page of my website at a Server response time of 0,40 second I would like to know how to reduce this time but i don't know if this dela...
26,605 Views
20 Replies
05-09-2017, 03:08 AM
arma7x
    Thread: display ajax response in form input box
Post: RE: display ajax response in form input box

Take a look at this http://stackoverflow.com/questions/4968406/javascript-property-access-dot-notation-vs-brackets
7,269 Views
7 Replies
05-07-2017, 12:38 PM
arma7x
    Thread: display ajax response in form input box
Post: RE: display ajax response in form input box

You can enumerate data object for ( var key in data) { if (data.hasOwnProperty(key)) { console.log(key + " -> " + data [key]); } }
7,269 Views
7 Replies
05-07-2017, 12:34 PM
arma7x
    Thread: display ajax response in form input box
Post: RE: display ajax response in form input box

Are you sure output content-type is application/json?
7,269 Views
7 Replies
05-07-2017, 12:05 PM
arma7x
    Thread: Reduce loading time
Post: RE: Reduce loading time

Total Execution Time: 0.3919 second is fine to me. It's ok and not too slow.
26,605 Views
20 Replies
05-07-2017, 05:02 AM
arma7x
    Thread: Pagination , Routing 404 - Newbie
Post: RE: Pagination , Routing 404 - Newbie

$route ['posts/(:any)' ] = 'posts/view/$1' ; This route find single post. In your pagination, '/post/{page}' will find post using page param not navigate to other pages and I'm sure in your Post contr...
7,294 Views
6 Replies
04-29-2017, 02:17 AM
arma7x
    Thread: CI4 Database Pessimistic Locking Row
Post: RE: CI4 Database Pessimistic Locking Row

Narf Wrote: (03-23-2017, 11:43 AM) -- Well, if you know what you want to do with it - fair enough. Though, I asked more about the "pessimistic" part, as a) pretty much nobody uses that term in PHP...
7,060 Views
4 Replies
03-23-2017, 12:15 PM
arma7x
    Thread: CI4 Database Pessimistic Locking Row
Post: RE: CI4 Database Pessimistic Locking Row

Narf Wrote: (03-23-2017, 05:00 AM) -- Do you know what a pessimistic lock is in the first place, or are you just asking just because Laravel? -- Yes, i know it. Just like how CI lock session row in...
7,060 Views
4 Replies
03-23-2017, 09:45 AM
arma7x
    Thread: CI4 Database Pessimistic Locking Row
Post: CI4 Database Pessimistic Locking Row

Does codeigniter 4 database library will have pessimistic locking feature like laravel eloquent does, https://laravel.com/docs/5.4/queries#pessimistic-locking
7,060 Views
4 Replies
03-23-2017, 03:38 AM
arma7x
    Thread: Class stdClass not found
Post: RE: Class stdClass not found

ibitcm Wrote: (03-23-2017, 02:01 AM) -- Someone can help me ....? The error is below .. A PHP Error was encountered Severity: Error Message: Class 'stdClass' not found Filename: mysqli/m...
2,886 Views
2 Replies
03-23-2017, 02:30 AM
arma7x
    Thread: MySQL, Querybuilder, Controller problems... ERR 2014
Post: RE: MySQL, Querybuilder, Controller problems... ER...

http://stackoverflow.com/questions/8891179/mysql-error-2014-commands-out-of-sync-you-cant-run-this-command-now
4,041 Views
4 Replies
03-19-2017, 03:41 PM
arma7x
    Thread: Session: Creates new session on every page refresh
Post: RE: Session: Creates new session on every page ref...

You can do simple counter. For testing, store the increment/decrement integer value in session and retrieve it back in next page reload. If the value does not change, maybe the browser reject cookies ...
8,742 Views
4 Replies
03-16-2017, 03:31 AM
arma7x
    Thread: Opinion : JSON web tokens
Post: RE: Opinion : JSON web tokens

albertleao Wrote: (03-04-2017, 08:21 AM) -- Interesting. That might be a solution. I would still put an id  in my jwt that eventually tied back to a database sessions table. I know that defeats the p...
9,578 Views
5 Replies
03-08-2017, 02:41 AM
arma7x
    Thread: nodejs
Post: RE: nodejs

Get in-depth with JavaScript is good, you can use it on both backend or frontend task
8,087 Views
7 Replies
03-05-2017, 12:35 AM
arma7x
    Thread: Opinion : JSON web tokens
Post: RE: Opinion : JSON web tokens

Take a look at this, https://github.com/psr7-sessions/storageless
9,578 Views
5 Replies
03-04-2017, 07:38 AM
arma7x

Theme © iAndrew 2016 - Forum software by © MyBB