Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Server not found
Post: RE: Server not found

1. Edit file Code: -- C:\Windows\System32\drivers\etc\hosts -- add code: Code: -- 127.0.0.1 testsite.test -- 2. In XAMPP Control Panel -> click button SHELL. In command line, use cd command to...
1,121 Views
3 Replies
05-17-2022, 03:44 AM
pvt
    Thread: How change Config (base_url) on a Controller
Post: RE: How change Config (base_url) on a Controller

You can store info in database then use code to detect valid domain. Idea: In admin controller, create CRUD to manager domain list: Code: -- //DATABASE TABLE domainList: [domain, isActive, ......
1,241 Views
2 Replies
05-14-2022, 04:23 AM
pvt
    Thread: ZipArchive: class not found
Post: RE: ZipArchive: class not found

CI4 using php namespace, may be this affect for call class ZipArchive from Controller. I have solved this problem by way: - Create helper, ex: zip_helper (file store in folder App/Helpers/) and defin...
8,409 Views
6 Replies
05-01-2022, 10:52 AM
pvt
    Thread: Pagination problem
Post: RE: Pagination problem

Use manumal pagination Model: Code: -- public function SelectOrder($perpage, $offset = 0)     {         $builder = $this->builder();         $builder->where('blog_category', '1');         $bu...
745 Views
1 Replies
04-30-2022, 01:18 AM
pvt
    Thread: Array helper: dot search
Post: RE: Array helper: dot search

Find exact you must use function array_deep_search() Code: -- array_deep_search('a.b.c', ['a' => ['b' => 'b']]);  //return b array_deep_search('a.*.c', ['a' => []]); //return NULL --
1,489 Views
3 Replies
04-29-2022, 11:39 PM
pvt
    Thread: Fix Codeigniter 4.1.9 Error
Post: Fix Codeigniter 4.1.9 Error

Hi all! I am using Codeigniter 4.1.9 with php version 8.1 when i used image class to make Text WaterMark, Convert Image;  It have some error with GD Library. I was fixed them. Now, I share my solutio...
2,414 Views
5 Replies
04-29-2022, 09:55 PM
pvt

Theme © iAndrew 2016 - Forum software by © MyBB