I'm trying to develop some complex rules to validate a JSON document being sent to the codeigniter script. I think I might have a misunderstanding of the specific rules. For example, here is a...
It appears implementing a Content Security Policy using CodeIgniter is falling short of what is required for a website. Individual resources fetched from our server to support my app are not subj...
Why isn't the CSP response header displayed in the Var section of the CI debug bar? It is showing Permissions Policy, Cache Control, Referrer Policy, Accept-CH, and Content-Type but no Content...
Hi everyone. i fetched some html content from phpmyadmin sql table and print them to pdf by dompdf in my codeigniter 3 project. here, i have some columns (page titles) with some html content wh...
I'm planning to use shield for user management I'm aware that this add-on will also include settings library. I don't want to use database handler for settings and want to use array instead. ...
I'm using SQL Server and using schema name instead of dbo. north.userTable Somehow $this->forge->addForeignKey('user_id', 'userTable', 'id', '', 'CASCADE') does not add schema in table userT...
I want to create restful controller. How to use a namespace in CLI for AppControllersApi app/Controllers/Api/FooController.php Tried this command and failed. php spark make:controller Foo ...
DEV - How to Store API Keys Securely in a .env File
Hello I've installed, changed the env to .env, uncommented CI_ENVIRONMENT and set it to development, but I don't get the debug toolbar. The "Build Your First Application" page says: Debug Too...
Hi, I have upgraded from CI 4.0.3 to the latest version. Working through the required changes to my code, all seems clear, except this issue. At one place the code uses a redirect( 'login' ) fun...
Hello, I have a problem. It is that CodeIgniter doesn't seem to work on localhost. Base URL in config.php: Code: $config = 'http://sample_localhost/mysite/'; Settings in database.php: C...
When attempting to index the Codeingniter website using Google Search Console, it reports "No: 'noindex' detected in 'robots' meta tag". Please help address this issue.
Hello, I want to access request and responses objects during boot sequence, in appConfigBootdevelopment.php (and production). I have try $request=Services::request(), $request = ConfigService...
Hi I am starting to learn CodeIgniter and am working my way through the "Build your first application" tutorial on the official site. Some things are not working correctly (eg. "Add the followin...
Hi all, For a project, I wrote a specific method that accepts posted data (via a javascript - by means of axios). The method is written to handle (ajax) file uploads and save file details i...