Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: HttpOnly cookie in CodeIgniter
Post: RE: HttpOnly cookie in CodeIgniter

Seriusly? You are developer and u can't write in google 'php how to set http_only cookie'? In system/library/Session.php:688 add comma at end, and in next line type 'true' (as bollean ofc) If in that ...
11,170 Views
8 Replies
06-09-2017, 02:53 AM
NickOver
    Thread: How to block execution of controller
Post: RE: How to block execution of controller

My problem isn't get request method or show something to user. I must, in layer between CI_Controller and controller, stop execution controller code. Something like die() but with execution hooks.
4,079 Views
4 Replies
06-09-2017, 02:43 AM
NickOver
    Thread: & get_instance() vs $this
Post: RE: & get_instance() vs $this

When you use =&get_instance() you pass object by reference. Thats mean you don't create a new object, you only operate on existing object. You MUST use get_instance() if u want model object or librar...
9,424 Views
2 Replies
06-08-2017, 01:09 PM
NickOver
    Thread: How to block execution of controller
Post: How to block execution of controller

Hi! I wanna make a rest api using codeigniter. So i create new core element MY_Controller which extend CI_Controller. I make simple annotation parser but now i have a problem. How i can block executi...
4,079 Views
4 Replies
06-08-2017, 01:02 PM
NickOver

Theme © iAndrew 2016 - Forum software by © MyBB