会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梦。
编写简略,请多见谅。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
下一页
2020年4月9日
PayPal支付
摘要: 原文链接:https://blog.csdn.net/a53657561/java/article/details/64982411推荐资料:https://www.cnblogs.com/jiafeimao-dabai/p/9561763.htmlhttps://www.cnblogs.com/f
阅读全文
posted @ 2020-04-09 09:54 祈愿仙帝
阅读(848)
评论(0)
推荐(0)
2020年4月6日
PHP 生成二维码
摘要: jquery版 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-sc
阅读全文
posted @ 2020-04-06 00:59 祈愿仙帝
阅读(223)
评论(0)
推荐(0)
使用宝塔安装PHP版本与实际版本不一致时解决办法
摘要: vim /etc/profile //进入里面 找到 PATH 这一行 添加下面最后一行(70为PHP版本号,修改为自己的即可) PATH=$PATH:/www/server/php/70/bin export PATH export PATH=/usr/local/git/bin:$PATH PA
阅读全文
posted @ 2020-04-06 00:30 祈愿仙帝
阅读(1690)
评论(0)
推荐(0)
2020年3月27日
实现Google和facebook第三方登录
摘要: <button type="button" class="fb-btn" id="google"> <img src="google.jpg" class="images" alt="google"> </button> <button type="button" id="facebook" cla
阅读全文
posted @ 2020-03-27 10:49 祈愿仙帝
阅读(1467)
评论(0)
推荐(0)
配置证书后,配置默认请求https
摘要: 很多站长在部署了https后,默认访问的网站仍然是http,需要手动去访问https才行。 今天小白在这个告诉大家一个简单的代码,在nginx站点配置中加一段简单的判断跳转就可以实现,不需要使用伪静态跳转。 在nginx的站点配置中加上一段 if ($server_port !~ 443){ rew
阅读全文
posted @ 2020-03-27 10:39 祈愿仙帝
阅读(652)
评论(0)
推荐(0)
2020年3月9日
jwt token验证
摘要: <?php namespace app\index\controller; use think\Db; use think\Session; use think\Controller; //跨域处理 header('Access-Control-Allow-Origin:*'); header('A
阅读全文
posted @ 2020-03-09 11:51 祈愿仙帝
阅读(638)
评论(0)
推荐(0)
mysql远程连接 Host * is not allowed to connect to this MySQL server
摘要: 改表法解决 进入MySQL bin目录 执行./mysql -uroot -p mysql>use mysql; mysql>select 'host' from user where user='root'; #查看mysql库中的user表的host值(即可进行连接访问的主机/IP名称) 执行u
阅读全文
posted @ 2020-03-09 11:49 祈愿仙帝
阅读(107)
评论(0)
推荐(0)
2020年2月28日
pdo的简单使用
摘要: $dbms='mysql'; //数据库类型$host='45.77.120.52'; //数据库主机名$dbName='www_tumblevd_co'; //使用的数据库$user='www_tumblevd_co'; //数据库连接用户名$pass='root'; //对应的密码$dsn="$
阅读全文
posted @ 2020-02-28 18:07 祈愿仙帝
阅读(183)
评论(0)
推荐(0)
2020年2月26日
指定文件加入log日志
摘要: <?php$str = "要加入的内容"; $file = fopen("./log.log", "a+"); //创建文件或打开文件fwrite($file, $str); //写入 fclose($file); //关闭文件或者使用下面显示更清晰$data = [1,2,3]; //加入logf
阅读全文
posted @ 2020-02-26 15:29 祈愿仙帝
阅读(286)
评论(0)
推荐(0)
2020年2月4日
获取时间
摘要: <?php /** * php 获取时间(今天,昨天,三天内,本周,上周,本月,三年内,半年内,一年内,三年内) * * date:2018-10-12 16:23:01 */ $q = $_GET['q'] ? intval($_GET['q']) : 0; $text = ''; $now =
阅读全文
posted @ 2020-02-04 11:03 祈愿仙帝
阅读(220)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
下一页
公告