首页
📷在线壁纸
🎬娱乐天地
🔖友情链接
更多
📝留言板
Search
1
【javascript】JS-向当前url追加参数
2,345 阅读
2
【PHP】生成随机昵称
2,219 阅读
3
【PHP】判断一个字符串是否属于序列化后的数据
2,024 阅读
4
【css】html+css给文章页,做阅读全文
1,975 阅读
5
【PHP】 设计模式(23种)
1,910 阅读
📂默认分类
💓typecho
🏳️🌈代码改变世界
🍇 mysql
🍈 Winform
🍓 golang
🍉 设计模式
🥝 PHP
🍎 python
🍊 nginx
🍋 网络安全
🍍 javascript
🫑 database
🍭文艺范
🍏mac
AI
LLM
image
audio
yolo
3D
code
登录
Search
标签搜索
php
typecho
代码注释
redis
mysql
go
golang
nginx
thinkphp
docker
gin
linux
curl
html
mamp
算法
短网址
构造函数
webhook
代码片段
依然范儿特西
累计撰写
145
篇文章
累计收到
1
条评论
首页
栏目
📂默认分类
💓typecho
🏳️🌈代码改变世界
🍇 mysql
🍈 Winform
🍓 golang
🍉 设计模式
🥝 PHP
🍎 python
🍊 nginx
🍋 网络安全
🍍 javascript
🫑 database
🍭文艺范
🍏mac
AI
LLM
image
audio
yolo
3D
code
页面
📷在线壁纸
🎬娱乐天地
🔖友情链接
📝留言板
搜索到
145
篇与
的结果
2019-01-21
【redis】redis 单机锁 和 分布式锁
单机锁
2019年01月21日
1,256 阅读
0 评论
1 点赞
2019-01-18
【PHP】常用的验证类
验证是否为微信浏览器function IsWechat() { $agent = isset($_SERVER['HTTP_USER_AGENT']) ? strtolower($_SERVER['HTTP_USER_AGENT']) : null; return (strpos($agent, 'micromessenger') !== false); }
2019年01月18日
1,435 阅读
0 评论
0 点赞
2019-01-18
【PHP】php原生生成word、execl文件
生成word文件 /*** * 生成word文件 ***/ header("Content-Type: application/msword"); header("Content-Disposition: attachment; filename=doc.doc"); header("Pragma: no-cache"); header("Expires: 0"); $output = '<table border="1" cellspacing="2" cellpadding="2" width="90%" align="center">'; $output .= '<tr bgcolor="#cccccc"><td align="center">图片</td></tr>'; $output .= '<tr bgcolor="#f6f7fa"><td><span style="color:#FF0000;"><strong>下面是一张图片</strong></span& gt;</td></tr>'; $output .= '<tr><td align="center"><img src="http://zi.csdn.net/48260_2.gif"></td></tr>'; $output .= '</table>'; echo $output;
2019年01月18日
1,047 阅读
0 评论
0 点赞
2019-01-18
【php】全角转半角
封装方法
2019年01月18日
1,354 阅读
0 评论
0 点赞
2019-01-18
【PHP】获取收集相关信息
封装方法
2019年01月18日
1,676 阅读
0 评论
0 点赞
2019-01-18
【PHP】计算时间差,返回几分钟前
封装方法
2019年01月18日
1,076 阅读
0 评论
0 点赞
2019-01-18
【PHP】图片处理
封装方法
2019年01月18日
1,104 阅读
0 评论
0 点赞
2019-01-18
【PHP】字符串处理
封装方法生成随机数:数字+字母 //生成随机数:数字+字母(简单版) function sys_randomkeys($length){ $key=''; $pattern = '123456789abcdefghijklmnopqrstuvwxyz'; for($i=0;$i<$length;$i++) { $key .= $pattern{mt_rand(0,35)}; //生成php随机数 } return $key; }
2019年01月18日
1,189 阅读
0 评论
0 点赞
2019-01-18
【PHP】获取当前访问的完整url地址
封装方法 // php获取当前访问的完整url地址 function sys_GetCurUrl() { $url = 'http://'; if (isset ( $_SERVER ['HTTPS'] ) && $_SERVER ['HTTPS'] == 'on') { $url = 'https://'; } if ($_SERVER ['SERVER_PORT'] != '80') { $url .= $_SERVER ['HTTP_HOST'] . ':' . $_SERVER ['SERVER_PORT'] . $_SERVER ['REQUEST_URI']; } else { $url .= $_SERVER ['HTTP_HOST'] . $_SERVER ['REQUEST_URI']; } return $url; }
2019年01月18日
1,095 阅读
0 评论
0 点赞
2019-01-18
【PHP】计算星座
封装方法
2019年01月18日
1,112 阅读
0 评论
0 点赞
1
...
13
14
15