Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Security with CI
Post: RE: Security with CI

(05-01-2018, 11:47 AM)codeguy Wrote: I just ran across a great article on web app security at this site It's clear, concise and aimed directly at CI based apps. or use https://www.monitis.com/blog...
Narf Best Practices 10 12,043 05-01-2018, 01:50 PM
    Thread: cli cron job fails to see controller
Post: RE: cli cron job fails to see controller

No, it's not broken. Debug it as if you see a 404 on the web; it's the exact same thing.
Narf General Help 2 2,379 04-25-2018, 01:47 PM
    Thread: CodeIgniter 3.1.7 unbuffered_row() returning NULL but row() works
Post: RE: CodeIgniter 3.1.7 unbuffered_row() returning N...

(04-24-2018, 12:40 PM)pbarney Wrote: (04-24-2018, 07:10 AM)Narf Wrote: (03-10-2018, 11:22 AM)pbarney Wrote: Is there a way to display the results of a query and simultaneously save the CSV of re...
Narf Issues 7 5,201 04-25-2018, 06:32 AM
    Thread: Lost session
Post: RE: Lost session

(04-24-2018, 09:51 AM)scalla Wrote: it's a codeigniter issue, I did a temp fix on it. it affects when you running ur app via subdomain So, after 2 pages of unclarity, it's just declared to be "a cod...
Narf CodeIgniter 4 Support 31 13,901 04-24-2018, 11:46 AM
    Thread: CodeIgniter 3.1.7 unbuffered_row() returning NULL but row() works
Post: RE: CodeIgniter 3.1.7 unbuffered_row() returning N...

(04-24-2018, 06:46 AM)pbarney Wrote: Has anyone seen this? The thread has been viewed ~130 times (this is shown in the topics list). Most wouldn't reply because they don't know the answer, as it sho...
Narf Issues 7 5,201 04-24-2018, 07:10 AM
    Thread: CodeIgniter 3.x.x Branch starting to show Depreciation Warnings using PHP 7.x.x
Post: RE: CodeIgniter 3.x.x Branch starting to show Depr...

(04-24-2018, 03:54 AM)InsiteFX Wrote: Maybe CI wont but the php editors are flagging it right off. Well, most editors are stupid. Not CodeIgniter's problem.
Narf CodeIgniter 3.x 4 5,387 04-24-2018, 06:47 AM
    Thread: Fatal error: Call to undefined function mssql_pconnect()
Post: RE: Fatal error: Call to undefined function mssql_...

'sqlsrv' !== 'mssql'
Narf General Help 2 2,352 04-16-2018, 12:17 AM
    Thread: Issue with get_where and where methods in query builder.
Post: RE: Issue with get_where and where methods in quer...

Hope died pretty quickly on this one: https://github.com/bcit-ci/CodeIgniter/issues/5448
Narf CodeIgniter 3.x 3 2,827 04-13-2018, 03:10 AM
    Thread: CI 3.X Session Core problems
Post: RE: CI 3.X Session Core problems

https://forum.codeigniter.com/thread-64849.html Please don't post screenshots; copy-pasting text is more than fine.
Narf General Help 4 3,103 04-13-2018, 01:20 AM
    Thread: Session ID not regenerating
Post: RE: Session ID not regenerating

(04-11-2018, 12:24 PM)dave friend Wrote: (04-11-2018, 05:08 AM)Narf Wrote: Regeneration is intentionally skipped for AJAX requests. Why is that? Because people don't understand how sessions work, ...
Narf Libraries & Helpers 5 3,885 04-12-2018, 03:56 AM
    Thread: Session ID not regenerating
Post: RE: Session ID not regenerating

Regeneration is intentionally skipped for AJAX requests.
Narf Libraries & Helpers 5 3,885 04-11-2018, 05:08 AM
    Thread: [split] Mcrypt deprecated
Post: RE: [split] Mcrypt deprecated

This problem does not and has not ever existed - CI_Encryption has always defaulted to openssl instead of mcrypt. There's 2 ways to end up using mcrypt instead of openssl and both would be of your ow...
Narf General Help 1 2,234 03-27-2018, 01:19 PM
    Thread: File Uploader Image Security
Post: RE: File Uploader Image Security

(03-20-2018, 05:58 PM)ivantcholakov Wrote: https://github.com/bcit-ci/CodeIgniter/b...d.php#L806 Should've pointed to this instead: https://github.com/bcit-ci/CodeIgniter/b....php#L1206
Narf General Help 4 3,088 03-20-2018, 06:01 PM
    Thread: question about directory permissions
Post: RE: question about directory permissions

(03-20-2018, 01:41 PM)danielcr_2018 Wrote: In Code Igniter all the directories have 700 permissions. To make my applications work I have to change the permissions to 755 on all directories. Why is t...
Narf Installation & Setup 4 2,121 03-20-2018, 06:00 PM
    Thread: Session not persisting while upgrading from 3.0.4 to 3.1.7
Post: RE: Session not persisting while upgrading from 3....

I'd look at the configuration first ... It's either something on the cookie level like a domain mismatch, or a bad save_path.
Narf General Help 2 1,784 03-19-2018, 08:32 AM
    Thread: hook doesn't redirect me
Post: RE: hook doesn't redirect me

Is that code your actual hook? If so, hooks are not controllers. You're not supposed to extend CI_Controller for a hook. Also, `get_instance()` means "get the controller instance", and you're doing t...
Narf General Help 5 2,386 03-19-2018, 08:28 AM
    Thread: Session: performance lock problem
Post: RE: Session: performance lock problem

FYI, putting session_write_close() at the very end of script execution is useless - CI will do that on its own at that point. If you do use it, it has to be at a point where you no longer need to rea...
Narf Libraries & Helpers 2 1,726 03-19-2018, 08:25 AM
    Thread: I thought this stored procedure would be faster than plain selects
Post: RE: I thought this stored procedure would be faste...

Relational databases aren't good at this. Unless you denormalize the data (i.e. store the already computed results), I don't see how you could get better results with pure SQL compared to something in...
Narf Lounge 4 3,519 03-11-2018, 06:03 PM
    Thread: Best way to prevent repopulation form after success submit?
Post: RE: Best way to prevent repopulation form after su...

(03-10-2018, 03:32 PM)minsk832 Wrote: I don't have complete repopulation with the function above. Only if it might be helpful for the user. See example above. Also my models check if an entry also e...
Narf Best Practices 7 5,422 03-11-2018, 11:01 AM
    Thread: I thought this stored procedure would be faster than plain selects
Post: RE: I thought this stored procedure would be faste...

(03-11-2018, 03:24 AM)InsiteFX Wrote: Could be the SELECT * try it with the column names instead and see if it speeds up. Indeed, the following in particular looks bad: (03-10-2018, 01:58 PM)skunk...
Narf Lounge 4 3,519 03-11-2018, 10:58 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.