- 博客(5)
- 收藏
- 关注
原创 thinkphp5使用ZipArchive压缩多个文件夹带图片
使用的TP框架,以及PHP自带的压缩类ZipArchive展示效果image.pngimage.pngimage.png public function testzip() { $imgs = array( "4" => array( ...
2019-05-28 22:20:00 1262
原创 laravel5.8视频教程--用户、多语言、migrate、model、controller)
创建laravel自带用户模块(项目根目录执行下面代码):php artisan make:auth配置多语言在resources下面创建一个zh.json的文件{ "Login":"登录", "E-Mail Address" : "邮箱", "Remember Me":"记住我", "Forgot Your Password":"忘记密...
2019-05-20 16:27:00 470
原创 PHP7.2编译No package php72w-mcrypt available.错误解决
原因没有更新yum源运行命令yum install epel-release //扩展包更新包yum update //更新yum源yum install libmcrypt libmcrypt-devel mcrypt mhash ...
2019-05-17 16:36:00 3110
原创 yum -y install php-pear php-devel httpd gcc --skip-broken解决
image.png升级PHP执行命令报错:Error: php72w-common conflicts with php71w-common-7.1.28-1.w7.x86_64 You could try using --skip-broken to work around the problem You could try run...
2019-05-17 16:29:00 569
原创 dedecms调用二级域名图片不显示(可能遇到跨域问题)解决
找到include的文件extend.func.phpfunction replaceurl($newurl){$newurl=str_replace('src="/uploads/','src="'.$GLOBALS['cfg_basehost'].'/uploads/',$newurl);return $newurl;}然后在详情页调用...
2019-05-13 16:25:00 361
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人