Skip to content

rintoug/CodeIgniter-Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeIgniter-Login

Sample script demonstrating a CodeIgniter login In application/config/autoload.php Autoload helpers

$autoload['helper'] = array('url','common');

Autoload libraries

$autoload['libraries'] = array('database','session');

Database you want to add the your database details in applicationconfig/database.php

$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => 'tbo',
	'dbdriver' => 'mysqli',
	'dbprefix' => '',
	'pconnect' => FALSE,
	'db_debug' => (ENVIRONMENT !== 'production'),
	'cache_on' => FALSE,
	'cachedir' => '',
	'char_set' => 'utf8',
	'dbcollat' => 'utf8_general_ci',
	'swap_pre' => '',
	'encrypt' => FALSE,
	'compress' => FALSE,
	'stricton' => FALSE,
	'failover' => array(),
	'save_queries' => TRUE
);

Login screen url will be :

http://yourdoamain.com/myfolder/index.php/login

About

Sample script demonstrating a CodeIgniter login

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published