欢迎各位兄弟 发布技术文章
这里的技术是共享的
hash — 生成哈希值 (消息摘要)
$config['csrf_protection'] = fa
设置-->首选项
Zend Framework文档中写道:常量包含数字字母字符和下划线,数字允许作为常量名。 常量名的所有字母必须大写。类常量必须通过 "const" 定义为类的成员,强烈不鼓励使用 "define" 定义的全局常量。
以下对系统常量文件constants.php进行一个简要的解读。
常量放在1)constants.php
直接 define('AAAAAA', 125);
2)或者自己在 config 目录下弄一个配置文件 把常量写进去
password_hash — 创建密码的哈希(hash)
1.在application/config/config.php 中将 $config['language']= 'zh_cn';
github上有auth库 可以自己这写
<textarea name="text" style= "overflow:hidden; resize:none;width:500px;height:200px;" id="text"></textarea>