网站首页 文章专栏
何冰华个人网站
生成linxu批量下载图片shell脚本
public function makeshell() { $begintime = time(); $pics = '图片集'; // 拼接图片数据 $dir = '
何冰华个人网站
syntax error near unexpected token `$’do\r”
在windows下通过记事本编辑shell脚本,上传到linux环境下执行。提示syntax error:unexpected end of file 或者syntax error near unex
何冰华个人网站
php中float转int的bug
PHP float精度有点问题,不要相信精度精确到了最后一位$a=16.9;$b=intval(round(floatval($a) * 100));echo $b; #1690
何冰华个人网站
HTML移动端字体的自适应
在头部添加以下代码即可:<script type="text/javascript">!function(e, t) {var n = e.documentElemen