CodeIgniter Step By Step Guide For Developer
xampp php.ini htdocs
PHP version 7.3 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP:
- json (enabled by default - don't turn it off)
- xml (enabled by default - don't turn it off)
- mysqlnd
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
$route['^(?!other|controller).*']='punit/$0';
defined('BASEPATH') OR exit('No direct script access allowed'); class Blog extends CI_Controller { public function index(){ //print } }
defined('BASEPATH') OR exit('No direct script access allowed'); class Dunit extends CI_Model { public function index(){ echo "Welcome to Model"; } }