Code your dreams into reality.
Every line of code is a step towards a better future.
Embrace the bugs, they make you a better debugger.

CodeIgniter 4 Image Upload with Preview Tutorial

CodeIgniter 4 Image Upload with Preview Tutorial

In CodeIgniter 4, the jQuery file reader function allows reading the image for preview before uploading it to the server. Let’s start creating image upload with preview feature in CodeIgniter: Step 1: Setting Up the Project First, create a new CodeIgniter 4 project or navigate to your existing project directory. Step 2: Create the Upload … Read more

CodeIgniter 4 Ajax File Upload Tutorial

CodeIgniter 4 Ajax File Upload Tutorial

Uploading file to codeIgniter 4 using AJAX is very easy, just need to pass server URL, method and data in AJAX method and it return response in json without refresh web page. Let’s start by creating a ajax file upload feature in codeIgniter application: Step 1 – Set up CodeIgniter 4 To download CodeIgniter 4 … Read more

CodeIgniter 4 File Upload Validation Tutorial

CodeIgniter 4 has many built-in functions that help developers create file upload functionality and validate file type, size, etc. Let’s start to creating a file upload feature with validation in application: Step 1 – Set up CodeIgniter 4 To download CodeIgniter 4 from the official website, Link: https://codeigniter.com/user_guide/installation/index.html. Extract downloaded zip file in xampp/htdocs directory. … Read more

CodeIgniter 4 Image Upload Tutorial

CodeIgniter 4 Image Upload Tutorial

CodeIgniter 4 provides built-in functions like getFiles(), move() and Validate() to handle image uploads with validation. Let’s start to creating a simple image upload feature with validation in application: Step 1 – Set up CodeIgniter 4 To download CodeIgniter 4 from the official website, Link: Extract downloaded zip file in xampp/htdocs directory. and edit app/Config/App.php … Read more

CodeIgniter 4 Ajax Form Submit Tutorial

form submit using ajax in codeigniter 4

AJAX allows developers to send form data to the server to store the data in the database and it returns the response in json format without refreshing the web page. Let’s start by creating a simple form and send the form data to the server to be stored in the database using AJAX with jQuery … Read more

Form Validation using jQuery in CodeIgniter 4

Form Validation using jQuery in CodeIgniter 4

The jQuery library allows developers to add validation rules and messages to validate form before submitting them in CodeIgniter 4 application. Let’s start by creating a simple form and validate the form containing fields like name, email, and password using jQuery validation: Step 1 – Set up CodeIgniter 4 To download CodeIgniter 4 from the … Read more

CodeIgniter 4 Form Submit Tutorial

In a CodeIgniter 4 application, displaying and submitting a form can be done using two methods GET and Post. Let’s start by creating a form and submitting it to a controller method to insert data into the database: Step 1 – Set Up Database Connection Edit application/config/database.php file, and set up your database connection details … Read more

How to Install and Run CodeIgniter 4 in Xampp?

How to Run & Install CodeIgniter 4 in Xampp

Download CodeIgniter 4 from the official website, and extract it to the htdocs directory, then do some configuration and run it on xampp localhost server. Let’s start to install and run the codeIgniter 4 application in xampp localhost server: Step 1 – Download Codeigniter 4 Visit to https://codeigniter.com/download, and download latest codeIgniter 4 version. Step … Read more

Laravel 11 Upload File to Google Drive Tutorial

Laravel 11 Upload File to Google Drive Tutorial

Spatie Provider is a package that helps developers to upload files to Google Drive cloud servers using Laravel 11 applications with its file system. Let’s start to setup a Laravel file system Storage driver with Google Drive API to upload file in cloud server: Step 1 – Set Up Google Cloud Account Click on https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts … Read more

Laravel 11 Store Backup on Dropbox using Spatie Tutorial

Laravel 11 Store Backup on Dropbox using Spatie Tutorial

In Laravel 11, Dropbox provides PHP SDK that allows developers to store backup of Laravel applications with the help of the file system. Let’s start to implement functionality in laravel application to store backup on dropbox: Step 1 – Create Account Dropbox Go to https://www.dropbox.com/login?cont=https%3A%2F%2Fwww.dropbox.com%2Fdevelopers%2Fapps link, and create console application in it, and find secret … Read more