会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
泥土里的绽放
博客园
首页
新随笔
联系
管理
订阅
04 2019 档案
php获取id
摘要:private static function getClientIp() { if (getenv('HTTP_X_FORWARDED_FOR')) { $tmp = explode(',', getenv('HTTP_X_FORWARDED_FOR')); $onlineip = $tmp[0]; ...
阅读全文
posted @
2019-04-26 19:12
泥土里的绽放
阅读(469)
评论(0)
推荐(0)
编辑
html计时发送验证码功能的实现
摘要:function countdown() { var time=60; setTime=setInterval(function(){ if(time"+data.message+""); } if (d...
阅读全文
posted @
2019-04-26 18:47
泥土里的绽放
阅读(923)
评论(0)
推荐(0)
编辑
__FILE__、__DIR__区别
摘要:__FILE__=D:\Soft\xampp\htdocs\test\test.php __DIR__=D:\Soft\xampp\htdocs\test getcwd()=D:\Soft\xampp\htdocs\test $_SERVER["SCRIPT_FILENAME"]=D:/Soft/x
阅读全文
posted @
2019-04-14 23:46
泥土里的绽放
阅读(894)
评论(0)
推荐(0)
编辑
Lumen如何生成APP_KEY
摘要:php artisan key:generate
阅读全文
posted @
2019-04-14 23:43
泥土里的绽放
阅读(572)
评论(1)
推荐(0)
编辑
mysql创建用户
摘要:use mysql; create user 'usrabc'@'%' identified by 'usrabc'; // %表示任何一个ip都可以登陆grant all privileges on *.* to root@'%' identified by '你为root设置好的密码'; flush privileges;
阅读全文
posted @
2019-04-14 23:42
泥土里的绽放
阅读(110)
评论(0)
推荐(0)
编辑
mysql修改当前用户的密码
摘要:ALTER USER USER() IDENTIFIED BY '123456';https://majing.io/posts/10000005531181
阅读全文
posted @
2019-04-14 23:41
泥土里的绽放
阅读(818)
评论(0)
推荐(0)
编辑
linux生成公钥私钥并上传到服务器上实现免密登陆
摘要:1. 生成密钥对 2. 将公钥传到远程 3. 开启远程主机访问
阅读全文
posted @
2019-04-14 23:37
泥土里的绽放
阅读(3135)
评论(0)
推荐(0)
编辑
重置密码解决MySQL for Linux错误 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
摘要:出现报错: 解决方法:
阅读全文
posted @
2019-04-14 23:32
泥土里的绽放
阅读(834)
评论(0)
推荐(0)
编辑
MySQL ERROR 1130 (HY000): Host '192.168.1.8' is not allowed to connect to this MySQL server
摘要:GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.8' IDENTIFIED BY 'www.linuxidc.com' WITH GRANT OPTION; // 给某个服务器赋予权限
阅读全文
posted @
2019-04-14 23:07
泥土里的绽放
阅读(790)
评论(0)
推荐(0)
编辑
mysql、nginx、php-fpm的启动与关闭
摘要:mysql 一、启动方式 1、使用 service 启动:service mysqld start 2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start 3、使用 safe_mysqld 启动:safe_mysqld& 二、停止 1、使用 service 启动:ser
阅读全文
posted @
2019-04-14 22:49
泥土里的绽放
阅读(600)
评论(0)
推荐(0)
编辑
mapping values are not allowed in this context at line 115 column 10
摘要:启动homestead的时候报如上错误,经查询,错误原因为: 这错误,真骚啊。。。。。。
阅读全文
posted @
2019-04-12 01:33
泥土里的绽放
阅读(3565)
评论(0)
推荐(0)
编辑
公告
点击右上角即可分享