Monday, 9 February 2026
Complete Blog System in CodeIgniter 4.5.0 with Source Code (Free Download)
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Wednesday, 14 September 2022
File Upload with new name Codeigniter
HTML
<form method="post" action="<?php echo site_url('/Admin/newsadddb'); ?>" enctype="multipart/form-data">
<input type="file" name="NewsFile" id="NewsFile" style="display:none">
<input type="submit" name="submit" value="Save" class="btn btn-danger" >
</form>
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Monday, 11 July 2022
Google Recaptcha Integration | PHP , ASP.NET C# , Codeiginater 4
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Wednesday, 29 June 2022
Unable to write in session folder in windows 10 using Codeigniter 4
This post is applied on following Codeigniter Error
- Unable to write in session folder in windows 10 using Codeigniter 4
- SYSTEMPATH\Session\Handlers\FileHandler.php at line 102
- Uncaught Exception: Session: Configured save path
- CodeIgniter\Session\Exceptions\SessionException
Solution
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday, 8 April 2022
Send Whatapp message from contact form | PHP
PHP Code
<?php
if(isset($_POST['submit']))
{
$str="https://wa.me/+91-9795000000?text=";
$str.="Roll%20:%20" . preg_replace('/ /','%20',$_POST['Roll']);
$str.= ",Name%20:%20" . preg_replace('/ /','%20',$_POST['Name']);
$str.=",City%20:%20" . preg_replace('/ /','%20',$_POST['City']);
header("Location: $str");
}
?>
HTML
<form method="post" style="margin:4%">
<input type="text" name="Roll" /><br />
<input type="text" name="Name" /><br />
<input type="text" name="City" /><br />
<input type="submit" name="submit" value="Send" />
</form>
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Tuesday, 15 March 2022
Layout In CI
Step 1 :
Make a folder named shared in app/Views
Step 2 :
Make 3 files named menu.php,footer.php,layout.php
menu.php : will hold menu of website
layout.php : will hold master layout page for your website
footer.php : will hold footer code
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Thursday, 10 February 2022
Begin CodeIgniter 4.1.8
Whoops! We seem to have hit a snag. Please try again later
Solution :
- Open [xampp_folder_path]/php/php.ini to edit.
- Search for ;extension=intl and remove the ;.
- Save the php.ini file and restart Apache.
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Sunday, 14 November 2021
Layout/Master page in laravel
Layout/Master page in laravel
Making Layout or Master page in laravel is very simple . Go through the given steps below.
Step 1: Make a view named Layout.blade.php
Make a view for layout named layout.blade,php in resources\views folder.
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday, 12 November 2021
User difined function Laravel
We make user difined function to reuse code. To use user difined function you need to follow the steps
given below.
- Make your file in app folder and write your code in that file . In my case file name is helper.php and funtion name is Title . i.e.
function Title()
{
echo "Girfa IT Services";
}
- Goto composer.json file and add the following lines in autoload section.In my case pagelib.php is my file. Write your file name.
- Now you can call the function inside of helper.php file , anywhere in your project.
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Save form data into database
This post will help step by step to understand , how to save your HTML form data into Mysql Database.
Database Table structure
Form
<form method="post" action="index">
@csrf
Name : <input type="text" name="name" placeholder="Your Name" required class="form-control"><br>
Phone : <input type="text" name="phone" required placeholder="Phone Number" class="form-control"><br>
Message :
<textarea rows="5" name="message" required placeholder="Message" class="form-control"></textarea><br>
<input type="submit" value="Save" name="submit">
</form>
Step 2
Step 3 : Create Controller
Step 4 : Configure Route
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday, 29 October 2021
Laravel command for beginners
Create and run project using composer
composer create-project laravel/laravel your-project-name
cd your-project-name
Goto project folder i.e your-project-name
php artisan serve
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Thursday, 22 April 2021
PHP 404 page handling
Server shows 404 error code when requested resource not found at server. By default, the browser display 404 error page .which is not as user-friendly because it does not show our website look and layout. if you want to custom 404-page handling page then this post will help you. to do the above let follows the steps given below.
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.

