Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to integrate CI3 with AWS Cognito
Post: How to integrate CI3 with AWS Cognito

I set up a user pool in AWS Cognito that has a username and password. While I can test the solution using basic html files I would like to know how I can integrate AWS Cognito into my CI3 applicat...
1,216 Views
1 Replies
04-09-2022, 02:14 AM
Ahirsi
    Thread: Sanitize user input from form data (input text)
Post: RE: Sanitize user input from form data (input text...

includebeer Wrote: (12-08-2021, 03:28 PM) -- You can strip the unwanted tags like Captain said, but you also should escape the output when you display the data. In CI3 you can use html_escape() (htt...
4,971 Views
8 Replies
12-08-2021, 08:50 PM
Ahirsi
    Thread: Sanitize user input from form data (input text)
Post: RE: Sanitize user input from form data (input text...

captain-sensible Wrote: (12-08-2021, 10:32 AM) -- well there are a few approaches, i'm on CI4 what i've done is create a utility class and use regex, i have played with it and have a few  methods. ...
4,971 Views
8 Replies
12-08-2021, 02:06 PM
Ahirsi
    Thread: Sanitize user input from form data (input text)
Post: Sanitize user input from form data (input text)

I am currently running CI3 and would like some help on how I can sanitize user input to prevent  1. XSS 2. Input such as alert(some malicious code) 3. HTML Injection  I am using a combination of $...
4,971 Views
8 Replies
12-08-2021, 07:23 AM
Ahirsi
    Thread: How to edit a site with CodeIgniter
Post: RE: How to edit a site with CodeIgniter

Milina Wrote: (10-08-2021, 05:20 AM) -- I'm trying to edit a site built with Codeigniter. I just want to add an extra page to the side menu but it's tied down by user permissions and stuff like that ...
2,869 Views
4 Replies
10-08-2021, 09:13 AM
Ahirsi
    Thread: Can Hooks be used to capture all CUD operations in CI3?
Post: Can Hooks be used to capture all CUD operations in...

I have a CodeIgniter 3 application and would like to create an audit trail of all CUD operations and save them to individual audit tables. Under each CUD statement in the code I wrote $this->db->last...
630 Views
0 Replies
10-08-2021, 02:40 AM
Ahirsi
    Thread: CI Kenya community
Post: RE: CI Kenya community

stevemuk Wrote: (04-19-2021, 06:59 AM) -- yes am interested -- Great. AHirsi
4,517 Views
5 Replies
04-24-2021, 10:57 AM
Ahirsi
    Thread: CI Kenya community
Post: RE: CI Kenya community

josephgodwinke Wrote: (04-20-2021, 12:35 AM) -- Ahirsi Wrote: (04-19-2021, 12:48 AM) -- Dear All: Is anyone interested in reviving the long dead CI Kenya community? Best regards AHirsi ...
4,517 Views
5 Replies
04-23-2021, 11:36 AM
Ahirsi
    Thread: CI Kenya community
Post: CI Kenya community

Dear All: Is anyone interested in reviving the long dead CI Kenya community? Best regards AHirsi
4,517 Views
5 Replies
04-19-2021, 12:48 AM
Ahirsi
    Thread: List of Deprecated functions
Post: List of Deprecated functions

Hi  I am working through an old CodeIgniter 3 book and was wondering whether there are resources/documentation pointing out all the deprecated functions/items and the new ones supported by CI4. ...
1,137 Views
1 Replies
04-03-2021, 09:06 PM
Ahirsi
    Thread: Unable CodeIgniter 4 Foundations Code Samples - Lonnie Ezell Book
Post: RE: Unable CodeIgniter 4 Foundations Code Samples ...

InsiteFX Wrote: (03-28-2021, 08:54 PM) -- This has to be your settings with Composer etc; Because I manually install it and it runs just fine. Sounds like a Composer autoload problem. If you ch...
4,369 Views
7 Replies
03-29-2021, 12:43 AM
Ahirsi
    Thread: How to pass database result set from controller to a view
Post: RE: How to pass database result set from controlle...

ojmichael Wrote: (03-28-2021, 04:50 PM) -- PHP Code: -- echo view('blogview', ['data' => $data]); -- -- Hi ojmichael: That single line fixed my issues. Thank you so much for all your help. The...
3,752 Views
7 Replies
03-28-2021, 11:59 PM
Ahirsi
    Thread: How to pass database result set from controller to a view
Post: RE: How to pass database result set from controlle...

demyr Wrote: (03-28-2021, 12:36 PM) -- Firstly, please try to make your query works in Models. Secondly  : Code: -- -- $row what? $row->user_name  ?? or $row->phone_number  ?? or $row->blog_t...
3,752 Views
7 Replies
03-28-2021, 02:27 PM
Ahirsi
    Thread: How to pass database result set from controller to a view
Post: RE: How to pass database result set from controlle...

craig Wrote: (03-28-2021, 07:34 AM) -- https://www.codeigniter.com/user_guide/outgoing/views.html#adding-dynamic-data-to-the-view -- Hi Craig: Many thanks for the link. I have read it again and ev...
3,752 Views
7 Replies
03-28-2021, 11:41 AM
Ahirsi
    Thread: Unable CodeIgniter 4 Foundations Code Samples - Lonnie Ezell Book
Post: Unable CodeIgniter 4 Foundations Code Samples - Lo...

Hi  I am unable to run the CodeIgniter 4 Foundations Code Samples by Lonnie Ezell. https://github.com/lonnieezell/ci4-foundations    Here are the errors thrown when I run php spark serve: I ...
4,369 Views
7 Replies
03-28-2021, 10:42 AM
Ahirsi
    Thread: How to pass database result set from controller to a view
Post: How to pass database result set from controller to...

Hi I am getting the following error in my View  blogview.php: ErrorException Undefined variable: data  APPPATH\Views\Blogview.php at line 21 I have tried the following in my Controller but ...
3,752 Views
7 Replies
03-28-2021, 06:32 AM
Ahirsi

Theme © iAndrew 2016 - Forum software by © MyBB