Programming Fields

  • Interview Q&A
    • Laravel Interview Q&A
  • Laravel
  • Livewire
  • React
  • Angular
  • Node
  • CodeIgniter
Home ยป CodeIgniter 4

How to Create RESTful API in CodeIgniter 4 Step By Step

January 26, 2022 by Umesh Rana Leave a Comment

Create RESTful API in Codeigniter 4

You can create RESTfuI API in Codeigniter 4. This will be helpful when you want to manage the front end using a front end technology like React, Angular, Vue, etc. The CodeIgniter REST API can fulfill your requirement for request handling in the backend. The REST API will handle the request sent through the front-end […]

Filed Under: CodeIgniter 4 Tagged With: CodeIgniter RESTful Web Service, REST API in CodeIgniter 4, RESTful API in CodeIgniter, RESTful Controller in CodeIgniter 4, Web Services in CodeIgniter 4

Resize Image By Image Manipulation in CodeIgniter 4

December 17, 2021 by Umesh Rana Leave a Comment

resize image in codeigniter 4

You can manipulate the image after uploading it in Codeigniter 4. There is no package or third-party library for it. The CodeIgniter 4 provides the image manipulation class. Through this class, you can manipulate images as per your need. You can set a watermark on the uploaded image. You can resize, and crop the image […]

Filed Under: CodeIgniter 4 Tagged With: CodeIgniter Image Resize, Image Crope in CodeIgniter 4, Image Manipulation in CodeIgniter, Image Manipulation Service, Resize Image in CodeIgniter 4

CodeIgniter 4 Ajax Form Handling With Form Validation

December 6, 2021 by Umesh Rana Leave a Comment

Ajax form handling

Ajax provides a technique to handle the form request without reloading the page. You can use Ajax in CodeIgniter 4 for handling form data. This will allow you to validate and submit your form without refreshing it. This is used at the client-side to handle the client request in the browser. If you are working […]

Filed Under: AJAX Tutorial, CodeIgniter 4, jQuery Tagged With: Ajax Form Handling, CodeIgniter 4 Ajax Request, CodeIgniter 4 Form Handling Using Ajax, Codeigniter 4 Form Validation, Form Handling Using Ajax in CodeIgniter, Form Request Handling in CodeIgniter

Login and Registration Authentication in Codeigniter 4

October 3, 2021 by Umesh Rana 5 Comments

Codeigniter login and registration

The authentication system in any application is the main security feature. If you don’t want to give the open-access of your application to the user then it will require to have a lock. Here the authentication will work as an access key for that lock. At the application level, the user will need to enter […]

Filed Under: CodeIgniter 4 Tagged With: CodeIgniter 4 Login, Filter in CodeIgniter 4, Login Auth in CodeIgniter, Login Sign Up in CodeIgniter 4, Middleware in CodeIgniter, Route Filter in CodeIgniter

How to Send Email in CodeIgniter 4 Using Gmail SMTP

June 22, 2021 by Umesh Rana 4 Comments

send email using gmail

You can send an email using Gmail SMTP In CodeIgniter 4. For sending an email, you have to configure the email settings in your application. If you are sending email through the SMTP then there are two protocols that are TLS and SSL. Both protocols work on different ports. In this post, I will show […]

Filed Under: CodeIgniter 4 Tagged With: CodeIgniter Send Email, Gmail Host, Gmail SMTP in CodeIgniter 4, SMTP Protocol

How to Implement jQuery Datatable in CodeIgniter 4

June 16, 2021 by Umesh Rana Leave a Comment

jQuery datatable in codeigniter 4

jQuery provides the datatable library to use in an HTML table. The jQuery datatable provides you the flexibility of pagination, searching, and ordering the data in the table. Even you can apply custom filters to the data. It also allows us to use column filters inside the table. You can implement it on any server-side […]

Filed Under: CodeIgniter 4 Tagged With: Datatable in CodeIgniter 4, jQuery datatable in CodeIgniter 4

Generate Fake Data in CodeIgniter 4 Using Seeder and Faker

June 14, 2021 by Umesh Rana Leave a Comment

Database Seeder in Codeigniter 4

If you are working in a development environment, you always need to test your functionality. So for testing, you generally use the test data. You cannot perform the test on real data. Actually, the data may get updated and deleted according to the test cases. So, you can’t use the real data for the testing. […]

Filed Under: CodeIgniter 4 Tagged With: Database Seeding, Faker Factory For Test Data, Generate Fake Data, Seed Fake Data in CodeIgniter

How to Remove index.php From URL in CodeIgniter 4

June 4, 2021 by Umesh Rana 3 Comments

Remove index.php in codeigniter 4

Usually, in the CodeIgniter 4 project, you will see there is an additional argument in the URL. That is index.php in your project URL. So, if you don’t want this extra parameter then you can remove it. This will make a clean URL of your website. There are several ways to remove this index.php in […]

Filed Under: CodeIgniter 4 Tagged With: CodeIgniter 4 Config, CodeIgniter 4 Download and Install, CodeIgniter 4 Remove index.php, CodeIgniter URL, Remove index.php

Upload Multiple Image with Validation in Codeigniter 4

June 1, 2021 by Umesh Rana 1 Comment

By creating an array of images, you can upload multiple image in Codeigniter 4. The HTML element of file type has an attribute to accept multiple files. The input element of file type requires the name attribute to be an array. We already know about an array in PHP. It can store multiple items in […]

Filed Under: CodeIgniter 4 Tagged With: Image Validation in Codeigniter, Multiple Image Upload, Upload Multiple Image in CodeIgniter

How to Upload Image and File in Codeigniter 4 with Validation

May 14, 2021 by Umesh Rana Leave a Comment

Upload Image in Codeigniter 4

When you want to upload image in Codeigniter 4, you have to take care of the validation. Without proper validation, file upload is not secure for SQL injection. Someone might do the SQL injection with the file upload. Hence, it is very important to prevent code injection through the file upload. In Codeigniter, you can […]

Filed Under: CodeIgniter 4 Tagged With: File Upload in Codeigniter 4, File Upload in PHP MySQL, Image Upload in Codeigniter, Image Validation in Codeigniter, Upload File in Codeigniter, Validate Image in Codeigniter

  • 1
  • 2
  • Next Page »

Categories

  • AJAX Tutorial (13)
  • Angular (3)
  • CodeIgniter 4 (13)
  • Git (3)
  • Interview Questions & Answers (1)
  • jQuery (17)
  • Laravel (142)
  • Linux (14)
  • Livewire (8)
  • MacOS (3)
  • Node (2)
  • PHP (16)
  • React (21)
  • Tailwind CSS (1)
  • WordPress (7)

Support Us on YouTube

The Mind Behind This Blog

A passionate Full Stack Developer with a flair for crafting web and mobile solutions that deliver outstanding user experiences. With 6+ years of hands-on experience in the world of software development. I thrive on turning complex ideas into elegant, efficient, and user-friendly applications. Apart from it, I am a knowledge enthusiast, and devoted content creator. Read Moreโ€ฆ

Quick Navigation

  • Home
  • About Us
  • Privacy Policy
  • Contacts

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Copyright ยฉ 2025ยท Programming Fieldsยท All rights Reserved. And Our Sitemap.All Logos & Trademark Belongs To Their Respective Ownersยท

Programming Fields
  • Interview Q&A
    • Laravel Interview Q&A
  • Laravel
  • Livewire
  • React
  • Angular
  • Node
  • CodeIgniter