Tag: php

  • Localization function in Twig with CodeIgniter

    Localization function in Twig with CodeIgniter

    CodeIgniter has a beautiful and simple Localization framework with each language in it’s folder and using aliases in views to get the localized version of a specific text. I will not go into details about this as I’m assuming you already have been using it for a while. For more details on it, please visit…

  • Prevent CSRF attacks with CodeIgniter 4

    Prevent CSRF attacks with CodeIgniter 4

    CSRF attacks are relatively common. They rely mainly on the user’s elevated permissions for a certain webapp and the hacker would thus attempt to get the user to perform a certain action on it’s behalf. To cut it short, it’s BAD! How the whole attack works is for sure not the scope of this article.…