Skip to content

翻了车的老司机

其实我一直在你身边

Search for:

一月 31, 2018Daily 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

分类目录

  • 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  

近期文章

  • Mysql创建触发器
  • 创建docker 容器关联
  • composer laravel 安装时遇到 github 报错
  • wordpress如何开启全站https
  • CentOS上安装Redis

近期评论

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

    苏ICP备16035736号-3

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