Skip to content

Technoserene

Explore, Learn, & Share

Tag: admin panel with login

Admin Panel with Login in CodeIgniter

[dfads params=’groups=-1′]

Today, I came up with a solution for how to make an inbuilt Admin Panel with already coded Login module in codeigniter. Just follow the steps below to setup into your project.

1. Download the adminPanelWithLogin.zip file. Extract it. Copy the respective admin folders to the Controllers, Models, & Views of your project.

Screenshot - Saturday 24 August 2013 - 05:23:59  IST

2. Create the MySQL table & populate data.

[sql]
CREATE TABLE IF NOT EXISTS `tbl_admin` (
`admin_id` int(4) NOT NULL AUTO_INCREMENT,
`admin_name` varchar(128) NOT NULL,
`admin_email` varchar(64) NOT NULL,
`admin_password` varchar(64) NOT NULL,
`admin_role` int(2) NOT NULL,
`admin_status` int(1) NOT NULL,
PRIMARY KEY (`admin_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;

INSERT INTO `tbl_admin` (`admin_id`, `admin_name`, `admin_email`, `admin_password`, `admin_role`, `admin_status`) VALUES
(1, ‘admin’, ‘admin’, ‘admin_123’, 1, 0),
(13, ‘super’, ‘super’, ‘super_123’, 1, 1);
[/sql]

3.  Check whether the database & session are initiated by exploring to application/config/autoload.php file.

[php]$autoload[‘libraries’] = array(‘database’, ‘session’); [/php]

4. Browse the admin login from you browser: http://localhost/your_project/admin. A screen must appear like this:

Screenshot - Saturday 24 August 2013 - 05:40:09  IST

5. Use the default admin user as “admin ” and Password as “admin_123” then press Login. You will be redirected to a secure home page like this:

Screenshot - Saturday 24 August 2013 - 05:40:32  IST

You can further add modules of your choice & code your project as you like.

Feedbacks & suggestions are always welcome.

[dfads params=’groups=-1′]

Author dewendraPosted on August 24, 2013Categories Apache, CodeIgniter, Debian, Internet, Linux, MySQL, PHP, Red Hat, Ubuntu, WebserverTags admin panel, admin panel with login, bootstrap, codeigniter, mysql, php73 Comments on Admin Panel with Login in CodeIgniter

On Twitter

Tweets by @nomeasdev

Recent Posts

  • Heart Surgery – Part 2
  • Valentine 2007
  • Thank you, you all are God for us!
  • Spring MVC 4 and Simple Ajax Call
  • Window number 9

Recent Comments

  • RISMA ANDIANI on How to Linux Keylogger in Ubuntu
  • RISMA ANDIANI on Internt Download Manager free Download with crack
  • RISMA ANDIANI on SI CAPTCHA Anti-Spam – WordPress Plugin by Mike Challis
  • dewendra on Spring MVC 4 and Simple Ajax Call
  • RISMA ANDIANI on Spring MVC 4 and Simple Ajax Call

Archives

Technoserene Proudly powered by WordPress