Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Random problem with set_header()
Post: RE: Random problem with set_header()

That works - and (bonus) I looked at the code for force_download() and it outputs in 1MB chunks so as to not overrun memory, which I was concerned about. So thanks! (But it would be nice to know...
3,366 Views
2 Replies
01-31-2020, 02:18 PM
mdr1384
    Thread: Random problem with set_header()
Post: Random problem with set_header()

I am having a random issue with Content-Disposition header not being sent from my controller, depending on the content.  Here is my controller function: PHP Code: -- public function download() {...
3,366 Views
2 Replies
01-31-2020, 05:53 AM
mdr1384
    Thread: query builder like with wildcard in the middle
Post: RE: query builder like with wildcard in the middle

You can use the existing 3rd and 4th parameters to like(): Code: -- $this->db->like('column', 'some%thing', 'none', FALSE) -- 3rd param prevents prefix/postfix additional wildcard chars, 4th par...
4,724 Views
4 Replies
06-13-2019, 05:43 AM
mdr1384

Theme © iAndrew 2016 - Forum software by © MyBB