Skip to content

翻了车的老司机

其实我一直在你身边

Search for:

一月 2018Monthly Archives

php 正则获取图片url

php 正则获取图片url
preg_match_all(“/(src)=[\”|\”| ]{0,}(http:\/\/(.*)\.(gif|jpg|jpeg|bmp|png|JPEG|GIF|PNG))[\”|\”| ]{0,}/isU”, $content, $match);

  • Posted on: 2018年1月31日 2019年11月20日
  • Author: zzs10086
  • Categories: php

php 生成2个字母或数字组合

php 生成2个字母或数字组合
$chars = “abcdefghijklmnopqrstuvwxyz0123456789”;
$str .= $chars[mt_rand(0, $lc)];

  • Posted on: 2018年1月31日 2019年11月29日
  • Author: zzs10086
  • Categories: php

php 获取文件后缀

php 获取文件后缀
$suffixArr = explode(‘.’,$url);
return end($suffixArr);

  • Posted on: 2018年1月31日 2019年11月29日
  • Author: zzs10086
  • Categories: php

laravel 上传阿里云oss

laravel 上传阿里云oss
OSS::publicUpload(config(‘app.oss_bucket’),$targetName,storage_path(‘app/’.$imgName));

  • Posted on: 2018年1月31日 2020年6月4日
  • Author: zzs10086
  • Categories: laravel

lnmp 报错 open_basedir restriction in effect解决办法

lnmp 报错 open_basedir restriction in effect解决办法
vim /usr/local/php/etc/php.ini

  • Posted on: 2018年1月30日 2018年1月30日
  • Author: zzs10086
  • Categories: Linux

centos 下编译安装fileinfo扩展

centos 下编译安装fileinfo扩展
./configure -with-php-config=/usr/local/php/bin/php-config
extension=fileinfo.so

  • Posted on: 2018年1月30日 2018年1月30日
  • Author: zzs10086
  • Categories: Linux

设置文件或者文件夹所有权限

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

  • Posted on: 2018年1月30日 2018年1月30日
  • Author: zzs10086
  • Categories: Linux

解决编译安装php时报错:Please reinstall the iconv library

解决编译安装php时报错:Please reinstall the iconv library
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz

  • Posted on: 2018年1月29日 2018年1月29日
  • Author: zzs10086
  • Categories: Linux

laravel项目修改时区

第一:配置php.ini,timezone是Asia/Shanghai
第二:Laravel的/app/config/app.php 配置文件’timezone’ => ‘Asia/Shanghai’

  • Posted on: 2018年1月29日 2018年1月29日
  • Author: zzs10086
  • Categories: laravel

laravel admin 配置阿里云oss

laravel admin 配置阿里云oss
composer require jacobcyl/ali-oss-storage:dev-master

  • Posted on: 2018年1月24日 2019年3月20日
  • Author: zzs10086
  • Categories: laravel

Pagination

Page: 1 Page: 2 Page: 3 Page: 4 Page: 5 Page: 6 Next page

分类目录

  • docker
  • elasticsearch
  • git
  • go
  • java
  • javascript
  • laravel
  • Linux
  • mysql
  • nginx
  • node.js
  • php
  • redis
  • shell
  • vue
  • webpack
  • 小程序
Search for:
2018年一月
一 二 三 四 五 六 日
    2月 »
1234567
891011121314
15161718192021
22232425262728
293031  

近期文章

  • wordpress如何开启全站https
  • CentOS上安装Redis
  • ECMAScript 数组遍历
  • ECMAScript 数组
  • Ecmascript Push 和 Pop 方法

近期评论

    © 2025 翻了车的老司机. 我在你身边绕了一个圈,回到原点你却已在远方。

    苏ICP备16035736号-3

    友情链接:一览网  江苏景威控股集团有限公司