{"id":2197,"date":"2018-01-03T11:35:57","date_gmt":"2018-01-03T04:35:57","guid":{"rendered":"http:\/\/devbanban.com\/?p=2197"},"modified":"2018-01-03T11:35:57","modified_gmt":"2018-01-03T04:35:57","slug":"codeigniter-login-check-login-logout-function","status":"publish","type":"post","link":"https:\/\/devbanban.com\/?p=2197","title":{"rendered":"Codeigniter : Login, Check Login, Logout  Function"},"content":{"rendered":"<p>Codeigniter : Login, Check Login, Logout Function<!--more--><\/p>\n<p>controllers\u00a0 login.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\ndefined('BASEPATH') OR exit('No direct script access allowed');\r\nclass User extends CI_Controller\r\n{\r\n\r\n\tpublic function __construct()\r\n\t{\r\n\t\tparent::__construct();\r\n\t\t$this-&gt;load-&gt;model('User_model');\r\n\t}\r\n\r\n\tpublic function login()\r\n\t{\r\n\r\n\t\t$this-&gt;load-&gt;view('user\/login');\r\n\t}\r\n\r\n\tpublic function validlogin()\r\n\t{\r\n\t\tif($this-&gt;input-&gt;server('REQUEST_METHOD') == TRUE){\r\n\t\t\tif($this-&gt;User_model-&gt;record_count($this-&gt;input-&gt;post('username'), $this-&gt;input-&gt;post('password')) == 1)\r\n\t\t\t{\r\n\t\t\t\t$result = $this-&gt;User_model-&gt;fetch_user_login($this-&gt;input-&gt;post('username'), $this-&gt;input-&gt;post('password'));\r\n\t\t\t\t$this-&gt;session-&gt;set_userdata(array('login_id'    =&gt; $result-&gt;id,'username'    =&gt; $result-&gt;username,'display_name'=&gt; $result-&gt;display_name));\r\n\t\t\t\tredirect('order');\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t$this-&gt;session-&gt;set_flashdata(array('msgerr'=&gt; '&lt;p class=\"login-box-msg\" style=\"color:red;\"&gt;\u0e0a\u0e37\u0e48\u0e2d\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14!&lt;\/p&gt;'));\r\n\t\t\t\tredirect('user\/login', 'refresh');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tpublic function logout()\r\n\t{\r\n\t\t$this-&gt;session-&gt;unset_userdata(array('login_id','username','display_name'));\r\n\t\tredirect('', 'refresh');\r\n\t}\r\n\r\n\tpublic function profile()\r\n\t{\r\n\t\t$data['result'] = $this-&gt;User_model-&gt;read_user($this-&gt;session-&gt;userdata('login_id'));\r\n\t\t$this-&gt;load-&gt;view('user\/profile',$data);\r\n\t}\r\n\r\n\tpublic function postprofile()\r\n\t{\r\n\t\tif($this-&gt;input-&gt;server('REQUEST_METHOD') == TRUE)\r\n\t\t{\r\n\t\t\t$this-&gt;form_validation-&gt;set_rules('display_name', '\u0e0a\u0e37\u0e48\u0e2d\u0e41\u0e2a\u0e14\u0e07', 'required', array('required'=&gt; '\u0e04\u0e48\u0e32\u0e2b\u0e49\u0e32\u0e21\u0e27\u0e48\u0e32\u0e07!'));\r\n\t\t\tif($this-&gt;User_model-&gt;record_count($this-&gt;input-&gt;post('username'),$this-&gt;input-&gt;post('password')) == 1 &amp;&amp; $this-&gt;form_validation-&gt;run() == TRUE){\r\n\t\t\t\t$this-&gt;User_model-&gt;entry_user($this-&gt;session-&gt;userdata('login_id'));\r\n\t\t\t\t$this-&gt;session-&gt;set_userdata(array('display_name'=&gt;$this-&gt;input-&gt;post('display_name')));\r\n\t\t\t\tredirect('admin','refresh');  \/\/\u0e43\u0e2b\u0e49\u0e27\u0e34\u0e48\u0e07\u0e44\u0e1b\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e35\u0e2b\u0e19\u0e49\u0e32\u0e41\u0e23\u0e01 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a admin \r\n\t\t\t}else{\r\n\t\t\t\tredirect('user\/profile','refresh');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>controllers\u00a0 chklogin.php\u00a0 \u00a0include\u00a0 all controllers<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php \r\n\r\nclass Loadpost {\r\n\r\n    public function __construct() {\r\n        $this-&gt;CI = &amp; get_instance();\r\n    }\r\n\r\n    public function check_login() {\r\n        if ($this-&gt;CI-&gt;session-&gt;userdata('login_id') == NULL) {\r\n            if ($this-&gt;CI-&gt;router-&gt;method != 'login' &amp;&amp; $this-&gt;CI-&gt;router-&gt;method != 'validlogin' &amp;&amp; $this-&gt;CI-&gt;router-&gt;method != 'listview' &amp;&amp; $this-&gt;CI-&gt;router-&gt;method !='read') {\r\n                redirect('user\/login', 'refresh');\r\n                exit();\r\n            }\r\n        }else{\r\n            if($this-&gt;CI-&gt;router-&gt;method=='login'){\r\n                redirect('','refresh');\r\n                exit();\r\n            }\r\n        } \r\n    }\r\n\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>models\u00a0\u00a0User_model.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nclass User_model extends CI_Model\r\n{\r\n\tpublic function __construct()\r\n\t{\r\n\t\tparent::__construct();\r\n\t}\r\n\tpublic function fetch_user_login($username,$password)\r\n\t{\r\n\t\t$this-&gt;db-&gt;where('username',$username);\r\n\t\t$this-&gt;db-&gt;where('password',$this-&gt;salt_pass($password));\r\n\t\t$query = $this-&gt;db-&gt;get('tb_admin');\r\n\t\treturn $query-&gt;row();\r\n\t}\r\n\tpublic function record_count($username,$password)\r\n\t{\r\n\t\t$this-&gt;db-&gt;where('username',$username);\r\n\t\t$this-&gt;db-&gt;where('password',$this-&gt;salt_pass($password));\r\n\t\treturn $this-&gt;db-&gt;count_all_results('tb_admin');\r\n\t}\r\n\r\n\tpublic function salt_pass($password)\r\n\t{\r\n\t\treturn md5($password);\r\n\t}\r\n\r\n\tpublic function read_user($id)\r\n\t{\r\n\t\t$this-&gt;db-&gt;where('id',$id);\r\n\t\t$query = $this-&gt;db-&gt;get('tb_admin');\r\n\t\tif($query-&gt;num_rows() &gt; 0){\r\n\t\t\t$data = $query-&gt;row();\r\n\t\t\treturn $data;\r\n\t\t}\r\n\t\treturn FALSE;\r\n\t}\r\n\tpublic function entry_user($id)\r\n\t{\r\n\t\t$data = array('admin_name' =&gt; $this-&gt;input-&gt;post('admin_name'));\r\n\t\t\t$this-&gt;db-&gt;update('tb_admin', $data, array('id'=&gt; $id));\r\n\t}\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>views\u00a0 login.php<\/p>\n<pre class=\"lang:default decode:true \"> &lt;div class=\"login-box-body\"&gt;\r\n            \t&lt;p class=\"login-box-msg\"&gt;\u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e23\u0e30\u0e1a\u0e1a&lt;\/p&gt;\r\n               \t&lt;?=$this-&gt;session-&gt;flashdata('msgerr')?&gt;\r\n                &lt;form method=\"post\" action=\"&lt;?php echo base_url('user\/validlogin') ?&gt;\"&gt;\r\n                    &lt;div class=\"form-group has-feedback\"&gt;\r\n                        &lt;input type=\"text\" placeholder=\"Username\" class=\"form-control\" name=\"username\"&gt;\r\n                        &lt;span class=\"glyphicon glyphicon-user form-control-feedback\"&gt;&lt;\/span&gt;\r\n                    &lt;\/div&gt;\r\n                    &lt;div class=\"form-group has-feedback\"&gt;\r\n                        &lt;input type=\"password\" placeholder=\"Password\" class=\"form-control\" name=\"password\"&gt;\r\n                        &lt;span class=\"glyphicon glyphicon-lock form-control-feedback\"&gt;&lt;\/span&gt;\r\n                    &lt;\/div&gt;\r\n                    &lt;div class=\"row\"&gt;\r\n                        &lt;div class=\"col-xs-4\"&gt;\r\n                            &lt;button class=\"btn btn-primary btn-block btn-flat\" type=\"submit\"&gt;Sign In&lt;\/button&gt;\r\n                        &lt;\/div&gt;&lt;!-- \/.col --&gt;\r\n                    &lt;\/div&gt;\r\n                &lt;\/form&gt;\r\n\r\n            &lt;\/div&gt;&lt;!-- \/.login-box-body --&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Codeigniter : Login, Check Login, Logout Function<\/p>\n","protected":false},"author":1,"featured_media":2184,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[164],"tags":[165,69,120],"class_list":["post-2197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codeigniter","tag-codeigniter","tag-login","tag-logout"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Codeigniter : Login, Check Login, Logout Function - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]<\/title>\n<meta name=\"description\" content=\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devbanban.com\/?p=2197\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Codeigniter : Login, Check Login, Logout Function - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\" \/>\n<meta name=\"twitter:description\" content=\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197\"},\"author\":{\"name\":\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"headline\":\"Codeigniter : Login, Check Login, Logout Function\",\"datePublished\":\"2018-01-03T04:35:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197\"},\"wordCount\":33,\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"keywords\":[\"codeigniter\",\"login\",\"logout\"],\"articleSection\":[\"Codeigniter\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197\",\"url\":\"https:\\\/\\\/devbanban.com\\\/?p=2197\",\"name\":\"Codeigniter : Login, Check Login, Logout Function - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"datePublished\":\"2018-01-03T04:35:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"description\":\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devbanban.com\\\/?p=2197\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"width\":960,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2197#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devbanban.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codeigniter : Login, Check Login, Logout Function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#website\",\"url\":\"https:\\\/\\\/devbanban.com\\\/\",\"name\":\"\u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\",\"description\":\"\u0e2a\u0e2d\u0e19\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2d\u0e35\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e34\u0e23\u0e4c\u0e0a \u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19 \u0e23\u0e30\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u0e23\u0e30\u0e1a\u0e1a\u0e04\u0e25\u0e31\u0e07\u0e02\u0e49\u0e2d\u0e2a\u0e2d\u0e1a \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 \u0e23\u0e30\u0e1a\u0e1a\u0e27\u0e34\u0e08\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e23\u0e49\u0e2d\u0e21 Workshop PHP PDO MySQL \u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devbanban.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\",\"name\":\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\",\"description\":\"\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e19\u0e43\u0e08\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e41\u0e25\u0e30\u0e2d\u0e22\u0e32\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e1b\u0e31\u0e19\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e41\u0e25\u0e30\u0e2d\u0e37\u0e48\u0e19\u0e46\u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22...\",\"sameAs\":[\"http:\\\/\\\/devbanban.com\\\/\"],\"url\":\"https:\\\/\\\/devbanban.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Codeigniter : Login, Check Login, Logout Function - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devbanban.com\/?p=2197","twitter_card":"summary_large_image","twitter_title":"Codeigniter : Login, Check Login, Logout Function - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","twitter_description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","twitter_image":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","twitter_misc":{"Written by":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devbanban.com\/?p=2197#article","isPartOf":{"@id":"https:\/\/devbanban.com\/?p=2197"},"author":{"name":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"headline":"Codeigniter : Login, Check Login, Logout Function","datePublished":"2018-01-03T04:35:57+00:00","mainEntityOfPage":{"@id":"https:\/\/devbanban.com\/?p=2197"},"wordCount":33,"image":{"@id":"https:\/\/devbanban.com\/?p=2197#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","keywords":["codeigniter","login","logout"],"articleSection":["Codeigniter"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/devbanban.com\/?p=2197","url":"https:\/\/devbanban.com\/?p=2197","name":"Codeigniter : Login, Check Login, Logout Function - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","isPartOf":{"@id":"https:\/\/devbanban.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devbanban.com\/?p=2197#primaryimage"},"image":{"@id":"https:\/\/devbanban.com\/?p=2197#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","datePublished":"2018-01-03T04:35:57+00:00","author":{"@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","breadcrumb":{"@id":"https:\/\/devbanban.com\/?p=2197#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devbanban.com\/?p=2197"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devbanban.com\/?p=2197#primaryimage","url":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","width":960,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/devbanban.com\/?p=2197#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devbanban.com\/"},{"@type":"ListItem","position":2,"name":"Codeigniter : Login, Check Login, Logout Function"}]},{"@type":"WebSite","@id":"https:\/\/devbanban.com\/#website","url":"https:\/\/devbanban.com\/","name":"\u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","description":"\u0e2a\u0e2d\u0e19\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2d\u0e35\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e34\u0e23\u0e4c\u0e0a \u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19 \u0e23\u0e30\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u0e23\u0e30\u0e1a\u0e1a\u0e04\u0e25\u0e31\u0e07\u0e02\u0e49\u0e2d\u0e2a\u0e2d\u0e1a \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 \u0e23\u0e30\u0e1a\u0e1a\u0e27\u0e34\u0e08\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e23\u0e49\u0e2d\u0e21 Workshop PHP PDO MySQL \u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devbanban.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3","name":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","description":"\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e19\u0e43\u0e08\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e41\u0e25\u0e30\u0e2d\u0e22\u0e32\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e1b\u0e31\u0e19\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e41\u0e25\u0e30\u0e2d\u0e37\u0e48\u0e19\u0e46\u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22...","sameAs":["http:\/\/devbanban.com\/"],"url":"https:\/\/devbanban.com\/?author=1"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6bpqQ-zr","jetpack-related-posts":[{"id":2303,"url":"https:\/\/devbanban.com\/?p=2303","url_meta":{"origin":2197,"position":0},"title":"Codeigniter : Basic login with database","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"20\/03\/2018","format":false,"excerpt":"Codeigniter : Basic login with database autoload $autoload['libraries'] = array('database', 'session'); $autoload['helper'] = array('form','url'); database $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', 'username' => 'root', 'password' => 'password', 'database' => 'db_test', 'dbdriver' => 'mysqli', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => (ENVIRONMENT !== 'production'), 'cache_on' => FALSE,\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3479,"url":"https:\/\/devbanban.com\/?p=3479","url_meta":{"origin":2197,"position":1},"title":"\u0e41\u0e08\u0e01\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c, Helpdesk System (v0.4)","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"02\/05\/2020","format":false,"excerpt":"\u0e41\u0e08\u0e01\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21, Helpdesk System \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 v0.4 Features -\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e14\u0e49\u0e27\u0e22 CodeIgniter framework + Mysql + AdminLTE + Bootstrap4 \u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e01\u0e32\u0e23\u0e41\u0e08\u0e01 -\u0e41\u0e08\u0e01 Source code \u0e43\u0e2b\u0e49\u0e44\u0e1b\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 \u0e41\u0e08\u0e01\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e48\u0e19 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e17\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22\u0e46 v0.4 Release Date: May 2, 2020. Features updates Actors - Admin => Add\u00a0 Login System Controllers - Login => add Fn. index, Fn.authen, Fn.logout - Admin => add\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/helpdesk04.png?fit=960%2C540&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/helpdesk04.png?fit=960%2C540&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/helpdesk04.png?fit=960%2C540&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/helpdesk04.png?fit=960%2C540&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2300,"url":"https:\/\/devbanban.com\/?p=2300","url_meta":{"origin":2197,"position":2},"title":"Codeigniter : Basic login","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"20\/03\/2018","format":false,"excerpt":"Basic login, codeigniter\u00a0 autoload $autoload['libraries'] = array('database', 'session'); $autoload['helper'] = array('form','url'); controller\u00a0login.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller { public function __construct() { parent::__construct(); } public function check() { $emp_username=$this->input->post('emp_username'); $emp_password=$this->input->post('emp_password'); if($emp_username=='admin' && $emp_password=='admin'){ $data['result'] = \"Login Successfully\"; $this->load->view('loginok',$data); }else{ redirect('?act=F', 'refresh'); } }\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2306,"url":"https:\/\/devbanban.com\/?p=2306","url_meta":{"origin":2197,"position":3},"title":"Codeigniter : Send Mail","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"28\/03\/2018","format":false,"excerpt":"Codeigniter : Easy Send Mail by Codeigniter\u00a0 autoload $autoload['libraries'] = array('session','database','form_validation','email'); $autoload['helper'] = array('html','url','menu','form','file'); controller email.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class email extends CI_Controller { public function __construct() { parent::__construct(); } public function index() { $this->load->view('form_mail'); } public function send() { $mailto=$this->input->post('mailto'); $mailsub=$this->input->post('mailsub'); $mailmessage=$this->input->post('mailmessage'); $this->email->from('devbanban@gmail.com'); $this->email->to($mailto);\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4320,"url":"https:\/\/devbanban.com\/?p=4320","url_meta":{"origin":2197,"position":4},"title":"\u0e41\u0e08\u0e01\u0e41\u0e25\u0e30\u0e2a\u0e2d\u0e19\u0e1f\u0e23\u0e35 \u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e0a\u0e47\u0e04\u0e0a\u0e37\u0e48\u0e2d\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c Codeigniter , PHP","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"23\/11\/2021","format":false,"excerpt":"\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e41\u0e19\u0e30\u0e19\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e0a\u0e47\u0e04\u0e0a\u0e37\u0e48\u0e2d\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e02\u0e35\u0e22\u0e19\u0e14\u0e49\u0e27\u0e22\u0e20\u0e32\u0e29\u0e32 PHP \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e40\u0e1f\u0e23\u0e21\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e04 Codeigniter 3.1.11 \u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e1a\u0e19 PHP7 \u0e08\u0e32\u0e01 devbanban.com \u0e04\u0e23\u0e31\u0e1a \u0e08\u0e30\u0e21\u0e35\u0e41\u0e08\u0e01 code \u0e15\u0e31\u0e49\u0e07\u0e15\u0e49\u0e19\u0e43\u0e2b\u0e49\u0e41\u0e25\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e15\u0e32\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e21\u0e1a\u0e39\u0e23\u0e13\u0e4c\u0e21\u0e32\u0e01\u0e22\u0e34\u0e48\u0e07\u0e02\u0e36\u0e49\u0e19 *\u0e41\u0e25\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e14\u0e39\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21\u0e21\u0e32\u0e01\u0e48\u0e2d\u0e19 \u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48 v0.2 \u0e44\u0e1b\u0e08\u0e19\u0e16\u0e36\u0e07 v0.5 \u0e16\u0e36\u0e07\u0e08\u0e30\u0e21\u0e35\u0e42\u0e04\u0e49\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e1a\u0e32\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e14\u0e49\u0e27\u0e22\u0e04\u0e23\u0e31\u0e1a \u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 https:\/\/bit.ly\/32IaNaf\u00a0 \u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e0a\u0e47\u0e04\u0e0a\u0e37\u0e48\u0e2d\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c \u0e1e\u0e31\u0e12\u0e19\u0e32\u0e14\u0e49\u0e27\u0e22 Codeigniter 3.1.11 \u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a PHP5.6 - 7.4 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e21\u0e35 5 \u0e15\u0e32\u0e23\u0e32\u0e07 : \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2d\u0e32\u0e08\u0e32\u0e23\u0e22\u0e4c, \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e27\u0e34\u0e0a\u0e32, \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e19\u0e31\u0e01\u0e28\u0e36\u0e01\u0e29\u0e32, \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e32\u0e23\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19, \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e47\u0e04\u0e0a\u0e37\u0e48\u0e2d \u0e02\u0e2d\u0e1a\u0e40\u0e02\u0e15\u0e23\u0e30\u0e1a\u0e1a *\u0e19\u0e31\u0e01\u0e28\u0e36\u0e01\u0e29\u0e32 : \u0e14\u0e39\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e27\u0e34\u0e0a\u0e32, \u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e2d\u0e32\u0e08\u0e32\u0e23\u0e22\u0e4c\u0e40\u0e0a\u0e47\u0e04\u0e0a\u0e37\u0e48\u0e2d\u0e41\u0e15\u0e48\u0e25\u0e30\u0e27\u0e34\u0e0a\u0e32 (\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e27\u0e34\u0e0a\u0e32\u0e25\u0e07\u0e44\u0e14\u0e49 1 \u0e04\u0e23\u0e31\u0e49\u0e07) *\u0e2d\u0e32\u0e08\u0e32\u0e23\u0e22\u0e4c : Login-Logout, \u0e41\u0e01\u0e49\u0e44\u0e02\u0e42\u0e1b\u0e23\u0e44\u0e1f\u0e25\u0e4c,\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/11\/php-makub-devbanban.jpg?fit=800%2C427&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/11\/php-makub-devbanban.jpg?fit=800%2C427&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/11\/php-makub-devbanban.jpg?fit=800%2C427&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/11\/php-makub-devbanban.jpg?fit=800%2C427&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4192,"url":"https:\/\/devbanban.com\/?p=4192","url_meta":{"origin":2197,"position":5},"title":"PHP PDO  \u0e23\u0e30\u0e1a\u0e1a Login &#8211; Logout \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"04\/10\/2021","format":false,"excerpt":"\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a \u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e41\u0e08\u0e01\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e04\u0e49\u0e14\u0e23\u0e30\u0e1a\u0e1a Login - Logout \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a \u0e41\u0e1a\u0e1a\u0e07\u0e48\u0e32\u0e22\u0e46 \u0e42\u0e14\u0e22\u0e40\u0e02\u0e35\u0e22\u0e19\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a PHP PDO \u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19 PHP7 \u0e41\u0e25\u0e30 PHP8 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e2d\u0e32\u0e44\u0e1b\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14\u0e04\u0e23\u0e31\u0e1a *\u0e1d\u0e36\u0e01\u0e44\u0e27\u0e49\u0e04\u0e23\u0e31\u0e1a\u0e40\u0e1c\u0e37\u0e48\u0e2d\u0e44\u0e14\u0e49\u0e43\u0e0a\u0e49 \u0e23\u0e27\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e1b\u0e23\u0e31\u0e1a\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19 \u0e20\u0e32\u0e29\u0e32 php \u0e1f\u0e23\u0e35 100 \u0e04\u0e25\u0e34\u0e1b ++\u00a0\u00a0https:\/\/devbanban.com\/?p=3940 \u0e42\u0e04\u0e49\u0e14\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22 PHP PDO SESSION CONDITION Login - Logout \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e15\u0e32\u0e21\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14 MySQL HTML Bootstrap5 Sweet Alert https:\/\/www.youtube.com\/watch?v=_2N0h9Y2Dfs \u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e17\u0e33 workshop \u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a\u00a0*\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e49\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e42\u0e04\u0e49\u0e14 0.\u0e23\u0e27\u0e21 Workshop PHP PDO \u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32 \u0e04\u0e25\u0e34\u0e01 1.Workshop \u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01 (\u0e15\u0e48\u0e2d\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e01\u0e31\u0e19)\u2026","rel":"","context":"In &quot;PDO&quot;","block_context":{"text":"PDO","link":"https:\/\/devbanban.com\/?cat=409"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/10\/php-pdo-login.jpg?fit=800%2C411&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/10\/php-pdo-login.jpg?fit=800%2C411&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/10\/php-pdo-login.jpg?fit=800%2C411&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/10\/php-pdo-login.jpg?fit=800%2C411&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2197"}],"version-history":[{"count":1,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2197\/revisions"}],"predecessor-version":[{"id":2198,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2197\/revisions\/2198"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/media\/2184"}],"wp:attachment":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}