Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter CustomGPT for ChatGPT Help
Post: RE: CodeIgniter CustomGPT for ChatGPT Help

I have played a bit with the AI tool and so far so good. Came up with good solutions.
1,986 Views
3 Replies
02-13-2025, 03:13 AM
abatrans
    Thread: pass data fom view to inlcuded views and back
Post: RE: pass data fom view to inlcuded views and back

Instead of using: PHP Code: -- $this->include('templates/v1/head',$data); $this->include('templates/v1/header',$data); $this->include('templates/v1/sidebar_left',$data); -- I suggest you use...
1,887 Views
3 Replies
12-21-2024, 08:24 AM
abatrans
    Thread: Interaction between Wordpress and 2 seperate CI4 applications
Post: Interaction between Wordpress and 2 seperate CI4 a...

I have a project on the go where I have to get Wordpress to interact to 2 CI4 applications. The basic process is: User log in to Wordpress -> If the user has a valid subscription Wordpress then trigg...
912 Views
0 Replies
11-02-2024, 04:26 AM
abatrans
  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?
2,379 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...
2,219 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...
2,219 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', [  ...
2,219 Views
6 Replies
04-29-2024, 11:31 AM
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...
6,104 Views
5 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: --  
12,462 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.
5,483 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...
723 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'...
2,410 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...
6,968 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...
6,607 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.
8,339 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...
2,504 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 ...
2,504 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 = ...
2,230 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.
5,322 Views
7 Replies
06-06-2021, 03:26 AM
abatrans
  Thumbs Up Thread: Slack link broken
Post: RE: Slack link broken

Excellent, thank you.
5,322 Views
7 Replies
06-05-2021, 12:53 AM
abatrans

Theme © iAndrew 2016 - Forum software by © MyBB