codeIgniter tutorial – All you need to get started (configuration + database + route and more)



in this video we will discuss many things about codeigniter ,
1. download
2.general MVC patern
3.how to call a method in a controller
4. call a view
5.load a model
5.config files (config.php, database.php, route.php,autoload.php)
5. load a custom library that you’ve created
6. talk about route.php
7.use .htacess to hide the index.php in the URL
——
.htaccess
——
RewriteEngine on
RewriteCond $1 !^(index.php|images|assets|robots.txt)
RewriteRule ^(.*)$ /project-name/index.php/$1 [L]

# Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L]

source

Reply

Do NOT follow this link or you will be banned from the site!