Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Question Thread: Has CI3 reached end of life?
Post: Has CI3 reached end of life?

What is the official status of CI3? Are there any plans for future releases for eg. security issues or PHP compatibility?
270 Views
1 Replies
09-13-2024, 01:52 AM
abatrans
    Thread: Multiple filters set on a route in routes.php
Post: RE: Multiple filters set on a route in routes.php

kenjis Wrote: (04-30-2024, 02:20 AM) -- Why don't you write filters that work only in before? -- I have 145 routes and counting and it just seem easier to add the filters to the route definitions r...
856 Views
6 Replies
04-30-2024, 06:35 AM
abatrans
    Thread: Multiple filters set on a route in routes.php
Post: RE: Multiple filters set on a route in routes.php

kenjis Wrote: (04-29-2024, 05:43 PM) -- You cannot. There is no such feature. -- Perhaps add it to the wish list for the next release. In my case I would like the filters to only be added to th...
856 Views
6 Replies
04-30-2024, 02:08 AM
abatrans
    Thread: Multiple filters set on a route in routes.php
Post: Multiple filters set on a route in routes.php

How would I define different multiple before and after filters for a route in the routes.php config file. When I define the filters PHP Code: -- $routes->get( 'beelevels', 'Beelevels::index', [  ...
856 Views
6 Replies
04-29-2024, 11:31 AM
abatrans
    Thread: CodeIgniter v4.5.0 Released!
Post: RE: CodeIgniter v4.5.0 Released!

Thanks for the new release. I think I found a bug: Code: -- CRITICAL - 2024-04-07 23:31:59 --> TypeError: str_contains(): Argument #1 ($haystack) must be of type string, null given [Method: GE...
18,693 Views
35 Replies
04-07-2024, 02:42 PM
abatrans
    Thread: Seeking simpler alternative to Laravel: CodeIgniter worth it?
Post: RE: Seeking simpler alternative to Laravel: CodeIg...

I have been using CI for a couple of years and can highly recommend it. One of the reasons I chose CI (it was v.3 at the time) and not Laravel was becuase of, what I call, Laravel bloat. With the rele...
3,042 Views
4 Replies
07-08-2023, 09:15 AM
abatrans
    Thread: problem with form data
Post: RE: problem with form data

anuragk Wrote: (04-12-2023, 01:09 AM) -- kenjis Wrote: (04-12-2023, 01:01 AM) -- When you post the HTML form? Can you show all code for the controller and the view? -- View Page Code: --  
7,986 Views
21 Replies
04-13-2023, 12:13 AM
abatrans
    Thread: Watemark on PDF
Post: RE: Watemark on PDF

Have a look at Mpdf, it might solve your issue.
4,073 Views
5 Replies
03-23-2023, 09:21 AM
abatrans
    Thread: Auto cast variables to match the datatype defined in the table
Post: Auto cast variables to match the datatype defined ...

Is there a way to automatically cast the return variables, when retrieving a row(s) from a database table, to match the datatype from the table structure without having to use the Entity class? This w...
468 Views
0 Replies
12-15-2022, 07:52 AM
abatrans
    Thread: CodeIgniter 4 mentioned as one of the best frameworks.
Post: RE: CodeIgniter 4 mentioned as one of the best fra...

captain-sensible Wrote: (11-11-2022, 08:42 AM) -- yeah nice to see that but the guy  hasn't done his hoe work with current version 4.1  quoted ? for CI4 and as for laravel being best for beginner  i'...
1,774 Views
3 Replies
11-12-2022, 02:43 AM
abatrans
    Thread: CodeIgniter 4 - Using mPDF
Post: RE: CodeIgniter 4 - Using mPDF

Glad to see I am not the only one recommending mPDF.  I have written a helper function to also add custom fonts when you create the mPDF object. PHP Code: -- /** * @param string $orientatio...
4,438 Views
3 Replies
10-12-2022, 01:19 PM
abatrans
    Thread: Use of FPDF library in CI4
Post: RE: Use of FPDF library in CI4

I have found that mPdf is much easier to configure and to use. Install via composer. Especially where you already have the output in html/css and just need to output as a pdf. Give it a look. Th...
4,590 Views
6 Replies
10-11-2022, 07:25 AM
abatrans
    Thread: I need to know the recommended pdf manufacturer.
Post: RE: I need to know the recommended pdf manufacture...

I use mPDF, install via composer mpdf/mpdf - I also find their documentation quite good. Adding fonts is a breeze.
5,661 Views
6 Replies
06-23-2022, 02:20 AM
abatrans
    Thread: Intermittent Email Send Failure
Post: RE: Intermittent Email Send Failure

Extract of code that formats and send the emails PHP Code: --     $mode    = getOption( 'email_mode' );     $email  = Services::email();     $email->clear( TRUE ); /* Block of code creating h...
1,624 Views
3 Replies
04-26-2022, 02:06 AM
abatrans
    Thread: Intermittent Email Send Failure
Post: Intermittent Email Send Failure

I have a strange one where sending emails fails intermittently. The application uses CI4 email class connecting via SMTP (SSL on 465). I have written a mail queuing system that gets executed every 5 ...
1,624 Views
3 Replies
04-25-2022, 06:03 AM
abatrans
    Thread: CURLRequest returns 403 error / shell_exec returns 200
Post: CURLRequest returns 403 error / shell_exec returns...

Environment: PHP: 7.4.9 — CodeIgniter: 4.0.4 Any ideas on this problem: When I consume an API using the CURLRequest PHP Code: -- $curlClient = \Config\Services::curlrequest(); $response = ...
1,734 Views
1 Replies
11-15-2021, 12:41 AM
abatrans
    Thread: Slack link broken
Post: RE: Slack link broken

Same here, the sign-up link works.
4,279 Views
7 Replies
06-06-2021, 03:26 AM
abatrans
  Thumbs Up Thread: Slack link broken
Post: RE: Slack link broken

Excellent, thank you.
4,279 Views
7 Replies
06-05-2021, 12:53 AM
abatrans
    Thread: Slack link broken
Post: RE: Slack link broken

I am also getting no response when trying to register on the slack workspace.
4,279 Views
7 Replies
06-04-2021, 06:38 AM
abatrans
    Thread: Email smtp: mail not send - no error
Post: RE: Email smtp: mail not send - no error

Try to set $config['SMTPCrypto'] = 'tls'; Port 587 usually works with 'tls' whereas port 465 works with 'ssl'
7,194 Views
7 Replies
05-13-2021, 09:34 AM
abatrans

Theme © iAndrew 2016 - Forum software by © MyBB