ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์จาก 2018

PHP password encrypt md5() and password_hash()

The MD5 algorithm not secure. Can be decoded with a big database. So PHP has created a new function better than. But that's not the reason let us leave the MD5 function. It is also useful in encryption. Get the same only 32 digits code every time. But for the security of the code. We need to merge data the data with secret key. When decrypt code, it can not understand. Encode md5() first and running password_hash() again. This below is sample code

PHP Codeigniter and Template Parser Class call Variable out of Pairs

This below code is part of   View  from  CodeIgniter Docuemnt https://www.codeigniter.com/userguide3/libraries/parser.html and  Controller  like this