Site icon Cody Paste

Step1: Installing Codeigniter

  1. Download https://www.codeigniter.com/download
  2. Extract Folder and Paste in (xampp/htdocs). and rename it to “CodeIgniter“.
  3. Now open (htdocs\CodeIgniter\application\controllers) Folder
  4. Create a File “home.php” and Paste this code: 

     

  5. Open “htdocs\CodeIgniter\application\config\routes.php” File.
  6. Change default_controller to ‘home‘. Like:

    it means now ‘home.php’ is your default page

  7. Now Open “http://localhost/CodeIgniter/“. you will see ‘Hello World Home Page
Exit mobile version