首页
文章归档
1
Mysql8.0 恢复root权限
2
复制到剪切板
3
JS 中划线转驼峰
4
py-kms 激活步骤
5
JS sm4 国密加解密
Malson
累计撰写
100
篇文章
累计创建
55
个标签
累计收到
0
条评论
栏目
首页
文章归档
搜索
标签搜索
js
激活
py-kms
sm4
国密
卸载
pkg
关联查询
join
中文
正则
dock
mdadm
阵列
raid
文本
映射
ssh
thinkphp
伪静态
samba
php
golang
vue
crontab
http
nginx
mysql
javascript
coding
git
docker
html
mobile
移动端
textarea
css
linux
ffmpeg
centos
扩容
lvm
虚拟机
ubuntu
字体大小
微信浏览器
rem
surface
windows
宝塔
挂载
磁盘
homebrew
mac
随机
目 录
CONTENT
以下是
PHP
相关的文章
2022-06-25
PHP 生成随机数
/** * 生成随机数字 * * @param $min int 最小数字 * @param $max int 最大数字 * * @return string */function rand_number( $min , $max ){ return sprintf( "%0&quo
2022-06-25
108
0
0
PHP
2022-06-25
PHP 通知下载
<?php// We'll be outputting a PDF header('Content-type: application/pdf');// It will be called downloaded.pdf header("Content-Disp
2022-06-25
141
0
0
PHP
2022-06-25
PHP 验证身份证号
/** * 验证身份证号 * * @param $idCard string 身份证号 * * @return bool */function validateIdCard ( $idCard ){ //15位和18位身份证号码的正则表达式 $_regIdCard = '/^[1
2022-06-25
65
0
0
PHP
2022-06-25
PHP 逐行读取文件内容
$fn = fopen("sku.txt", "r"); while (!feof($fn)) { $line = fgets($fn); }fclose($fn);
2022-06-25
133
0
0
PHP
2022-06-25
PHP 字符串过滤函数
<?nl2br() // 函数在字符串中的每个新行 (\n) 之前插入 HTML 换行符 (<br />)addslashes()// 函数在指定的预定义字符前添加反斜杠// '// "// \// NULLstripslashes() // 函数删除由
2022-06-25
55
0
0
PHP
2022-06-25
PHP FPM配置
;pid = run/php-fpm.pid 设置pid文件的位置,默认目录路径 /usr/local/php/var;error_log = log/php-fpm.log 记录错误日志的文件,默认目录路径 /usr/local/php/var;syslog.facility = da
2022-06-25
141
0
0
PHP
2022-06-25
PHP 将阿拉伯数字转化为汉字
function num2char($num,$mode=true){ $char = array('零','一','二','三','四','五','六','七',&
2022-06-25
67
0
0
PHP
2022-06-25
PHP 数字前面补零 固定位数补0
比如需要固定四位数格式1->000156->0056288->02881992->1992可以使用php内置函数 str_pad() 函数把字符串填充为新的长度。str_pad(string,length,pad_string,pad_type)//参数 描述strin
2022-06-25
90
0
0
PHP
1
2