Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Why CI4 Shield do not store groups, permissions and rule on database
Post: RE: Why CI4 Shield do not store groups, permission...

Shield normally stores roles in the database and assigns groups in the config otherwise you can also modify groups in your class to extend here is how to serve in the database  PHP Code: -- $user...
87 Views
1 Replies
5 hours ago
luckmoshy
    Thread: How to list mysql results grouped by one column value, groups listed bellow
Post: RE: How to list mysql results grouped by one colum...

https://codeigniter.com/user_guide/database/query_builder.html#query-grouping
263 Views
2 Replies
08-13-2024, 01:30 AM
luckmoshy
    Thread: Would You Like an Automated Prompt to Install Additional Packages After CI4 Setup?
Post: RE: Would You Like an Automated Prompt to Install ...

Of course, this can be very useful and also also encryption generating
663 Views
7 Replies
08-09-2024, 02:14 AM
luckmoshy
    Thread: Help: How to integrate codeigniter with Sneat Free laravel?
Post: RE: Help: How to integrate codeigniter with Sneat ...

if you know this CI tool that can also help you a lot https://lonnieezell.github.io/Bonfire2/
463 Views
2 Replies
08-02-2024, 08:08 AM
luckmoshy
    Thread: Codeigniter URI like https://codeigniter.com/' error exception
Post: RE: Codeigniter URI like https://codeigniter.com/...

yeah exactly, this is what I wanted, no exceptions in the production environment
734 Views
6 Replies
07-10-2024, 11:50 PM
luckmoshy
    Thread: Codeigniter URI like https://codeigniter.com/' error exception
Post: RE: Codeigniter URI like https://codeigniter.com/...

@"kenjis" and @"captain-sensible" thank you for your answer but, is it not good to be the default instead???
734 Views
6 Replies
07-10-2024, 07:15 PM
luckmoshy
    Thread: Codeigniter URI like https://codeigniter.com/' error exception
Post: RE: Codeigniter URI like https://codeigniter.com/...

@"captain-sensible" Thank you, but I will not agree with this. It should not be ok since you paste https://codeigniter.com/' on your browser and then you get OOOOPS. I'm afraid I have to disagree that...
734 Views
6 Replies
07-10-2024, 01:08 PM
luckmoshy
    Thread: Codeigniter URI like https://codeigniter.com/' error exception
Post: Codeigniter URI like https://codeigniter.com/' e...

This is a weary sample like https://codeigniter.com/' if I add slash plus quote ' Code: -- https://codeigniter.com/' -- it throws an exception why ??? Oooops it should show 404 not that that is ...
734 Views
6 Replies
07-10-2024, 05:21 AM
luckmoshy
    Thread: Magic login link not working - SHIELD CI4
Post: RE: Magic login link not working - SHIELD CI4

Google does not allow less security if they now use API which is the main reason it was from my side too
1,021 Views
9 Replies
07-06-2024, 01:43 AM
luckmoshy
    Thread: Codeigniter4 How to switch controller based on user auth group
Post: RE: Codeigniter4 How to switch controller based on...

PHP Code: -- public function Redirect(): string {     if( auth()->user()->inGroup('admin')){         return view ( '/admin' );       elseif(auth()->user()->inGroup('user') ) { return view ( ...
359 Views
2 Replies
06-26-2024, 06:28 AM
luckmoshy
    Thread: Why CI4 mail not working on smpt now like gmail
Post: Why CI4 mail not working on smpt now like gmail

Mail failure - rejected by local scanning code (The message that you sent was rejected by the local scanning code that checks incoming messages in the system. The following error was given:) Se...
350 Views
1 Replies
06-19-2024, 08:11 PM
luckmoshy
    Thread: As experienced web developer what is the cause of this issue?
Post: RE: As experienced web developer what is the cause...

kenjis Wrote: (05-23-2024, 02:29 PM) -- When PHP processes a file, it just outputs lines outside the PHP tags. So in your sample code, the empty line between the PHP tags is output. Code: -- $ cat ...
2,568 Views
12 Replies
05-24-2024, 12:58 AM
luckmoshy
    Thread: JPG or PNG to WebP converter simple class
Post: RE: JPG or PNG to WebP converter simple class

another simple  approach PHP Code: -- if ($image->isValid() && !$image->hasMoved()) {   $newBanner =str_ireplace(['.jpeg','.jpg','.png'],'.webp',$image->getRandomName());     \Config\Services::ima...
1,077 Views
3 Replies
05-22-2024, 06:48 AM
luckmoshy
    Thread: As experienced web developer what is the cause of this issue?
Post: RE: As experienced web developer what is the cause...

Thank you so much to those who tried to help me regarding this issue and if I am not mistaken, there is one who also posted such an issue like me. Today I have been hassled after several months and ha...
2,568 Views
12 Replies
05-22-2024, 06:23 AM
luckmoshy
    Thread: form_open_multipart instead form_open no $_POST data
Post: RE: form_open_multipart instead form_open no $_POS...

Do this way instead PHP Code: -- --
442 Views
2 Replies
05-13-2024, 08:04 PM
luckmoshy
    Thread: CI NEEDS A PROPER DOCUMENTATION
Post: CI NEEDS A PROPER DOCUMENTATION

Yes Hi, I think it is time that CI needs a useful and good explanation in its document description. There are very different things you find where the truth is false and where there is a lie. It is ne...
1,560 Views
9 Replies
05-07-2024, 10:44 PM
luckmoshy
    Thread: How to make nav-link active
Post: RE: How to make nav-link active

The other best way is global usage, like    Code: -- /*CI URI */service('uri')->getSegment(4) ==='link'? 'active: null --
926 Views
3 Replies
05-05-2024, 11:26 PM
luckmoshy
    Thread: Trying to remove index.php from url in latest codeigniter 4.5.1
Post: RE: Trying to remove index.php from url in latest ...

Try go in App/Config/app then PHP Code: -- public string $indexPage = 'index.php'; /*===*/ /*remove index.php*/ public string $indexPage = ''; --
1,702 Views
7 Replies
05-02-2024, 03:51 PM
luckmoshy
    Thread: As experienced web developer what is the cause of this issue?
Post: RE: As experienced web developer what is the cause...

kenjis Wrote: (04-30-2024, 07:17 PM) -- Why your DEBUG-VIEW START started from 10, not 1 ? -- @kenjis this is an issue am looking to solve as you are in the browser experiment my app started at ...
2,568 Views
12 Replies
05-01-2024, 04:03 AM
luckmoshy
    Thread: Multiple filters set on a route in routes.php
Post: RE: Multiple filters set on a route in routes.php

You can achieve this by using a condition ( if) or (switch) in a single filter class and property but not by that
864 Views
6 Replies
04-30-2024, 12:31 AM
luckmoshy

Theme © iAndrew 2016 - Forum software by © MyBB