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

codeguy Wrote: (05-01-2018, 11:47 AM) -- I just ran across a great article on web app security at this site (https://www.monitis.com/blog/codeigniter-security-tips/) It's clear, concise and aimed ...
13,028 Views
10 Replies
05-01-2018, 01:50 PM
Narf
    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.
2,607 Views
2 Replies
04-25-2018, 01:47 PM
Narf
    Thread: CodeIgniter 3.1.7 unbuffered_row() returning NULL but row() works
Post: RE: CodeIgniter 3.1.7 unbuffered_row() returning N...

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

scalla Wrote: (04-24-2018, 09:51 AM) -- 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 b...
16,431 Views
33 Replies
04-24-2018, 11:46 AM
Narf
    Thread: CodeIgniter 3.1.7 unbuffered_row() returning NULL but row() works
Post: RE: CodeIgniter 3.1.7 unbuffered_row() returning N...

pbarney Wrote: (04-24-2018, 06:46 AM) -- 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, a...
5,706 Views
7 Replies
04-24-2018, 07:10 AM
Narf
    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...

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

'sqlsrv' !== 'mssql'
2,580 Views
2 Replies
04-16-2018, 12:17 AM
Narf
    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
2,969 Views
3 Replies
04-13-2018, 03:10 AM
Narf
    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.
3,307 Views
4 Replies
04-13-2018, 01:20 AM
Narf
    Thread: Session ID not regenerating
Post: RE: Session ID not regenerating

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

Regeneration is intentionally skipped for AJAX requests.
4,215 Views
5 Replies
04-11-2018, 05:08 AM
Narf
    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 ...
2,380 Views
1 Replies
03-27-2018, 01:19 PM
Narf
    Thread: File Uploader Image Security
Post: RE: File Uploader Image Security

ivantcholakov Wrote: (03-20-2018, 05:58 PM) -- https://github.com/bcit-ci/CodeIgniter/blob/3.1.7/system/libraries/Upload.php#L806 -- Should've pointed to this instead: https://github.com/bcit-ci...
3,331 Views
4 Replies
03-20-2018, 06:01 PM
Narf
    Thread: question about directory permissions
Post: RE: question about directory permissions

danielcr_2018 Wrote: (03-20-2018, 01:41 PM) -- 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 i...
2,279 Views
4 Replies
03-20-2018, 06:00 PM
Narf
    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.
1,961 Views
2 Replies
03-19-2018, 08:32 AM
Narf
    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 doin...
2,611 Views
5 Replies
03-19-2018, 08:28 AM
Narf
    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 r...
1,868 Views
2 Replies
03-19-2018, 08:25 AM
Narf
    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...
3,821 Views
4 Replies
03-11-2018, 06:03 PM
Narf
    Thread: Best way to prevent repopulation form after success submit?
Post: RE: Best way to prevent repopulation form after su...

minsk832 Wrote: (03-10-2018, 03:32 PM) -- 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 als...
6,204 Views
7 Replies
03-11-2018, 11:01 AM
Narf
    Thread: I thought this stored procedure would be faster than plain selects
Post: RE: I thought this stored procedure would be faste...

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

Theme © iAndrew 2016 - Forum software by © MyBB