This example uses a helper to download a very large file, of 200 MB, which can’t be downloaded in one file reading.

This example will be constructed from the following helpers:

  • application/helpers/my_download_helper.php: This is the CI helper that is used to download a very large file
  • application/controllers/classg2.php: This is the controller that uses the my_download helper
  • application/views/classg2view.php: This is the view that has a link for the file download

Let us assume that the URI to the project root is Hence the URI to execute the auth controller for login will be