Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI4 Model Is huge
Post: RE: CI4 Model Is huge

@Mazen Yep, if you use PSR4 autoload, this is what you should expect. If I am not mistaken, at an earlier time something like this happened, so bear this in mind if you play with the module Take care:...
496 Views
8 Replies
09-05-2023, 07:05 AM
luckmoshy
    Thread: Hey Now it is a time for CI Team to prepare and write a CI 4+ Tutorial Book
Post: RE: Hey Now it is a time for CI Team to prepare an...

Thank you for your opinion and TOC for a tutorial book. I would like to ask, What was difficult for you in learning CI4? Quote: -- If you know CI3 well, 6 months is longer than I expect to lear...
3,082 Views
22 Replies
08-17-2023, 04:17 AM
luckmoshy
    Thread: Hey Now it is a time for CI Team to prepare and write a CI 4+ Tutorial Book
Post: Hey Now it is a time for CI Team to prepare and wr...

Hi CI team and CI4 funs and to whom it may concern: This is my opinion regarding CI framework, first I would like to confirm that at earlier time it was really difficult to understanding deeply CI4...
3,082 Views
22 Replies
08-13-2023, 08:03 AM
luckmoshy
    Thread: Strange redirect
Post: RE: Strange redirect

it might be better if you specify which version of CI 4 at the moment and how did you config in App (baseUrl)
517 Views
5 Replies
08-12-2023, 11:57 PM
luckmoshy
    Thread: Send new Cookie() to Response
Post: RE: Send new Cookie() to Response

PHP Code: --
621 Views
9 Replies
08-03-2023, 04:42 AM
luckmoshy
    Thread: Security and File Upload in CodeIgniter: Best Practices to Keep Images Out of the Pub
Post: RE: Security and File Upload in CodeIgniter: Best ...

do  PHP Code: -- $filepath = WRITEPATH . 'uploads/' . $img->store(); --
487 Views
5 Replies
08-02-2023, 04:15 AM
luckmoshy
    Thread: Documentation: Creating Composer Packages
Post: RE: Documentation: Creating Composer Packages

@"iRedds" I argue that your opinion is really biased I personally take this as very interesting since it helps newbies in CI sometimes to learn how they can integrate their third-party modules or pac...
1,153 Views
16 Replies
07-31-2023, 10:25 PM
luckmoshy
    Thread: Add new option for make:model for specific table
Post: RE: Add new option for make:model for specific tab...

i agree too @"datamweb"
687 Views
8 Replies
07-27-2023, 11:39 PM
luckmoshy
    Thread: How do you deploy site with subfolder in baseURL
Post: RE: How do you deploy site with subfolder in baseU...

kenjis Wrote: (07-24-2023, 06:09 PM) -- @"luckmoshy" What is the one issue? Do you recommend (2) than (1)? What's better? (1) Code: -- RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] -- ...
876 Views
10 Replies
07-24-2023, 11:45 PM
luckmoshy
    Thread: Route doesnt work on server
Post: RE: Route doesnt work on server

It is recommended to use verbs https://codeigniter.com/user_guide/incoming/routing.html#http-verb-routes route than add
2,058 Views
7 Replies
07-24-2023, 07:28 AM
luckmoshy
    Thread: Session fixsession config
Post: RE: Session fixsession config

In CI you can do things in either.env or in APP, like Code: -- app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'   app.sessionCookieName = 'ci_session'   app.sessionExpirati...
481 Views
8 Replies
07-14-2023, 12:11 AM
luckmoshy
    Thread: Swagger for Codeigniter 4
Post: RE: Swagger for Codeigniter 4

at the this time there is no such CI and SWagger module,package or library to do in CI unless if you are good and familiarized with CI you can and create your own module to inject to your wish
777 Views
4 Replies
07-10-2023, 08:45 PM
luckmoshy
    Thread: How do you deploy site with subfolder in baseURL
Post: RE: How do you deploy site with subfolder in baseU...

of course, this is what has been thought to come it will be a great task so but there is also one issue for the shared apps here !! just look at here how you learn,......I put in the document root....
876 Views
10 Replies
07-09-2023, 03:26 AM
luckmoshy
    Thread: using APPPATH
Post: RE: using APPPATH

There are at least 4 Global directories in CI4  which are WRITEPATH,FILEPATH,ROOTPATH and APPPATH so for you to get your assets you shoul use ROOTPATH  https://codeigniter.com/user_guide/general/commo...
299 Views
4 Replies
07-04-2023, 08:51 AM
luckmoshy
    Thread: What could be causing 404 errors in CodeIgniter on a new server?
Post: RE: What could be causing 404 errors in CodeIgnite...

ShefaliKakru Wrote: (06-28-2023, 02:47 AM) -- After successfully copying a fully functional CodeIgniter app to a new server and updating the necessary configurations such as the base URL in config.ph...
297 Views
2 Replies
06-28-2023, 10:46 AM
luckmoshy
    Thread: CodeIgniter 4 email validation rules?
Post: RE: CodeIgniter 4 email validation rules?

PHP Code: -- public function sendMail(){ if ($this->request->getMethod() === 'post' && $this->validate([         'subject' => 'required|min_length[3]|max_length[255]',         'youremail'  => 'requi...
482 Views
1 Replies
05-23-2023, 03:00 AM
luckmoshy
    Thread: v4.3.5 security fix released
Post: RE: v4.3.5 security fix released

Thank @CI_TEAM
1,815 Views
8 Replies
05-21-2023, 09:17 AM
luckmoshy
    Thread: Migration and refresh problems
Post: RE: Migration and refresh problems

Because the batch number is still presented in migration table you should do by following batch number PHP Code: -- php spark migrate:rollback - 5 -- as hrere https://codeigniter4.github.io/CodeIgnit...
408 Views
2 Replies
05-12-2023, 01:49 AM
luckmoshy
    Thread: does this function work in CI 4.3.1 whereNotNull()
Post: does this function work in CI 4.3.1 whereNotNull()

PHP Code: -- $query = $this->db->table('table')     ->whereNotNull('CustomerName')     ->whereNotNull('ContactName')     ->orWhereNotNull('Address')     ->get(); $result = $query->getResult(); -- it...
1,120 Views
1 Replies
05-10-2023, 12:15 PM
luckmoshy
    Thread: v4.3.4 released
Post: RE: v4.3.4 released

@"zannhe" one of the best approach to learn at earlier in advance and become a conqueror in CI4+ are autoload, (help you make you modules ),service help you quickly create,share an instance of ...
2,943 Views
19 Replies
05-10-2023, 03:53 AM
luckmoshy

Theme © iAndrew 2016 - Forum software by © MyBB