Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: DateTime php function causing error
Post: DateTime php function causing error

I am trying to get the difference between two dates and wanted to use the basic date->diff function of the DateTime class in php, however the error I am receiving from CodeIgniter 4.0.3 is that it can...
6,251 Views
3 Replies
05-24-2020, 11:10 AM
kick
    Thread: Validation Bug??
Post: RE: Validation Bug??

Change this: Code: -- public $image_upload = [         'file' => [             'rules' => 'mime_in[file,image/jpg,image/jpeg,image/gif,image/png]', -- to PHP Code: -- public $image_upload...
3,349 Views
1 Replies
05-15-2020, 12:02 PM
kick
    Thread: subdomain is lost on redirect()->to()
Post: RE: subdomain is lost on redirect()->to()

Have you tried using PHP Code: -- current_url() -- which will return the full url (including segments that you can strip out) in your redirect statement? So it could possibly look like this: ...
4,739 Views
5 Replies
05-15-2020, 11:49 AM
kick
    Thread: Trailing slash causes issues
Post: Trailing slash causes issues

I'm not sure if this is my setup or if this is a bug however I figured I would report it. When entering a URL in CI 4 with a trailing slash (i.e. localhost/my-site/public/index.php/ ) the page jum...
2,875 Views
3 Replies
05-15-2020, 11:38 AM
kick
    Thread: Redirect from outside a controller
Post: RE: Redirect from outside a controller

imabot Wrote: (05-14-2020, 11:24 PM) -- imabot Wrote: (05-12-2020, 06:28 AM) -- Is it possible to redirect from outside a controller (from a library to a given URL for example ?). I read this que...
4,344 Views
4 Replies
05-15-2020, 11:11 AM
kick
    Thread: Pagination with Join Query
Post: RE: Pagination with Join Query

Thank you both. I have my answer.
5,960 Views
4 Replies
03-09-2020, 11:09 AM
kick
    Thread: Pagination with Join Query
Post: Pagination with Join Query

Hi, maybe it's as simple as I am missing something in the documentation and or my search criteria. I've played around with building queries, etc and can't seem to break this problem. Could someone...
5,960 Views
4 Replies
03-07-2020, 01:05 PM
kick

Theme © iAndrew 2016 - Forum software by © MyBB