
shell脚本编程学习笔记(二)文件权限/用户管理
查看文章权限 ls -l file ll Linux权限 r 可读 w 可写 x 可执行 Linux用户 所有者(u) 所属组(g) 其他用户(o) 所有用户(all) drwxr-xr-x. 3 root root 409...
查看文章权限 ls -l file ll Linux权限 r 可读 w 可写 x 可执行 Linux用户 所有者(u) 所属组(g) 其他用户(o) 所有用户(all) drwxr-xr-x. 3 root root 409...
布尔、整数、浮点数、字符串型的数据是属于标量的。
工作中使用的,觉得挺好用的,分享给大家 /** * 字符串截取,支持中文和其他编码 * @static * @access public * @param string $str 需要转换的字符串 * @param string ...
PDO实现数据库的增删改查 //链接数据库 $pdo = new PDO('mysql:host=localhost;dbname=test','root','root'); //增 $res = $pdo->exec("insert...
地址栏中文被解析为十六进制,如何转换回来 urldecode($str) 十六进制转换为中文 $str = '%E9%BB%91'; $a = urldecode($str); var_dump($a); //string(3...
ajax返回时用echo 不用return,否则前台不显示数据 PHP <?php $a = ['a'=>111,'b'=>222]; echo json_encode($a); ?>
统一下单 必填参数 https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1 下单成功后使用异步回调修改订单状态 扫描支付页面(修改) $inpu...
下载官方demo https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=11_1 配置商户信息 lib/Wxpay.config.php 在index.php中修改...
准备: 1.认证的服务号 https://mp.weixin.qq.com/ 2.企业营业执照以及对公账号 3.已备案的域名和服务器 过程: 1.开通微信支付 2.开通商户平台 https://pay.weixin.qq.co...
在application/extra下的配置文件都会被tp5自动加载 新建setting.php return[ 'img_prefix'=>'http://wmc.com/images' ] 使用模型的获取器拼接图片路...