In this example, we will use the CI third-party SSL helper to enforce an https or HTTP URI request and response between CI and the browser. This example will be constructed from the following helpers:
application/helpers/ssl_helper.php: The CI helper for SSL that implements SSL on the links.
application/controllers/helpersslexample.php: This controller loads the helper and implements SSL on the links. The helper is loaded in the constructor.
application/views/helper-ssl-view.php: This is the rendered view that SSL is implemented on.
Let us assume the URI to the project root is
The source code is provided with this book ...