会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梦。
编写简略,请多见谅。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2020年12月2日
css 的简单使用
摘要: 图片操作:mix-blend-mode: multiply; /*会把图片所有白色的部分转换成半透明的 png*/
阅读全文
posted @ 2020-12-02 11:41 祈愿仙帝
阅读(176)
评论(0)
推荐(0)
2020年11月20日
mysql数据库类型utf8修改utf8mb4
摘要: //查看类型SHOW VARIABLES WHERE Variable_name LIKE 'character_set_%' OR Variable_name LIKE 'collation%'; //修改库类型ALTER DATABASE 库名 CHARACTER SET utf8mb4 COL
阅读全文
posted @ 2020-11-20 15:38 祈愿仙帝
阅读(583)
评论(0)
推荐(0)
2020年11月8日
解决报错:WebSocket connection to ‘ws://124.207.120.104:9502/‘ failed: Error in connection establish
摘要: //关闭防火墙 systemctl stop firewalld.service
阅读全文
posted @ 2020-11-08 11:36 祈愿仙帝
阅读(3045)
评论(0)
推荐(0)
2020年11月2日
curl post 请求
摘要: //链接地址 $url = ""; //初始化 $curl = curl_init(); //设置抓取的url curl_setopt($curl, CURLOPT_URL, $url); //设置获取的信息以文件流的形式返回,而不是直接输出。 curl_setopt($curl, CURLOPT_
阅读全文
posted @ 2020-11-02 12:02 祈愿仙帝
阅读(342)
评论(0)
推荐(0)
2020年10月28日
php 二维数组进行分页
摘要: //示例 $start=($page-1)*$pagesize;//偏移量,当前页-1乘以每页显示条数 $article = array_slice($article,$start,$pagesize); //函数 array_slice(array,start,length,preserve);
阅读全文
posted @ 2020-10-28 17:43 祈愿仙帝
阅读(296)
评论(0)
推荐(0)
2020年10月23日
php 函数的操作
摘要: //二维数组 <?php $data = array( array( 'id' => 5698, 'first_name' => 'Bill', 'last_name' => 'Gates', ), array( 'id' => 4767, 'first_name' => 'Steve', 'las
阅读全文
posted @ 2020-10-23 14:12 祈愿仙帝
阅读(186)
评论(0)
推荐(0)
php 保留小数
摘要: //保留两位小数 sprintf("%.2f",$number);
阅读全文
posted @ 2020-10-23 09:12 祈愿仙帝
阅读(72)
评论(0)
推荐(0)
2020年9月28日
jquery 的简单操作
摘要: //a标签自动点击 $(".pays")[0].click(); //浏览器窗口打开新页面 window.open ('a.html', '', 'height=650, width=550, top=200, left=600, toolbar=yes, menubar=yes, scrollba
阅读全文
posted @ 2020-09-28 21:44 祈愿仙帝
阅读(137)
评论(0)
推荐(0)
opencart3 简单记录
摘要: //获取购物车内的商品 $data['cartDate'] = $this->cart->getProducts();//PayPal Express Checkou 按钮支付(可以把这个放在你要放的地方即可,后台要有此功能插件) <div class="pull-right"><a href="{
阅读全文
posted @ 2020-09-28 11:01 祈愿仙帝
阅读(231)
评论(0)
推荐(0)
2020年9月23日
paypal 智能支付 按钮
摘要: <!DOCTYPE html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Ensures optimal rendering on mobile devices. --> <met
阅读全文
posted @ 2020-09-23 09:05 祈愿仙帝
阅读(741)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告