摘要: 拥有原来的密码 下登陆进入mysql use mysql; update user set authentication_string=passworD("新密码") where user='root'; flush privileges; eixt; 重新输入新的密码即可 阅读全文
posted @ 2019-10-25 19:05 贪婪的猫 阅读(176) 评论(0) 推荐(0) 编辑
摘要: https://www.jb51.net/article/137124.htm 安装nginx 启动nginx systemctl enable nginx.service 安装php 1、如果之前已经安装我们先卸载一下 ? 1 yum -y remove php* ? 1 yum -y remov 阅读全文
posted @ 2019-09-27 16:44 贪婪的猫 阅读(444) 评论(0) 推荐(0) 编辑
摘要: <div class="upload-container"> <input type="file" name="fileToUpload" id="fileToUpload" class="fileupload" /> </div> .upload-container { background-im 阅读全文
posted @ 2017-02-07 13:54 贪婪的猫 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 1、将字段类型设为 TIMESTAMP 2、将默认值设为 CURRENT_TIMESTAMP http://www.cnblogs.com/lhj588/p/4245719.html 阅读全文
posted @ 2017-02-07 13:51 贪婪的猫 阅读(8803) 评论(0) 推荐(0) 编辑
摘要: function __construct(){ //需要进行的操作 } //TP框架中 function __construct(){ parent::__construct(); //继承父类的构造函数 必须添加 } 阅读全文
posted @ 2017-01-04 10:33 贪婪的猫 阅读(119) 评论(0) 推荐(0) 编辑
摘要: try{ }catch(Exception $e){ } //TP 框架中 try{ }catch(\Exception $e){ } 阅读全文
posted @ 2017-01-04 10:31 贪婪的猫 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <title>form 表单上传文件</title> <script src="Public/js/jquery-2.1.4.min.js"></script> <script src="Public/js/bootstrap.min.js" 阅读全文
posted @ 2016-11-24 19:22 贪婪的猫 阅读(8584) 评论(0) 推荐(0) 编辑
摘要: 使用的是TP框架 前端代码: <!DOCTYPE html><html> <head> <title>这里是前端代码</title> </head> <body> <form action="" method="get"> 姓名:<input type="text" name="name"> <in 阅读全文
posted @ 2016-11-24 19:19 贪婪的猫 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: php中ignore_user_abort函数的用法 PHP中的ignore_user_abort函数是当用户关掉终端后脚本不停止仍然在执行,可以用它来实现计划任务与持续进程,下面会通过实例讨论ignore_user_abort()函数的作用与用法。 ignore_user_abort() 可以实现 阅读全文
posted @ 2016-11-09 14:02 贪婪的猫 阅读(6331) 评论(0) 推荐(0) 编辑
摘要: parse_str() ; 阅读全文
posted @ 2016-10-14 15:52 贪婪的猫 阅读(432) 评论(0) 推荐(0) 编辑