热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

PHP基于yii框架实现生成ICO图标_php实例

本文给大家分享了2则php生成ICO图标的代码,第一款是基于YII框架实现的,第二款是纯php编写,都非常的不错,有需要的小伙伴可以参考下
1,phpthumb_ico 是生成ICO图标的类,源码如下

class phpthumb_ico {
 
  function phpthumb_ico() {
    return true;
  }
 
 
  function GD2ICOstring(&$gd_image_array) {
    foreach ($gd_image_array as $key => $gd_image) {
 
      $ImageWidths[$key] = ImageSX($gd_image);
      $ImageHeights[$key] = ImageSY($gd_image);
      $bpp[$key]     = ImageIsTrueColor($gd_image) ? 32 : 24;
      $totalcolors[$key] = ImageColorsTotal($gd_image);
 
      $icXOR[$key] = '';
      for ($y = $ImageHeights[$key] - 1; $y >= 0; $y--) {
        for ($x = 0; $x <$ImageWidths[$key]; $x++) {
          $argb = $this->GetPixelColor($gd_image, $x, $y);
          $a = round(255 * ((127 - $argb['alpha']) / 127));
          $r = $argb['red'];
          $g = $argb['green'];
          $b = $argb['blue'];
 
          if ($bpp[$key] == 32) {
            $icXOR[$key] .= chr($b).chr($g).chr($r).chr($a);
          } elseif ($bpp[$key] == 24) {
            $icXOR[$key] .= chr($b).chr($g).chr($r);
          }
 
          if ($a <128) {
            @$icANDmask[$key][$y] .= '1';
          } else {
            @$icANDmask[$key][$y] .= '0';
          }
        }
        // mask bits are 32-bit aligned per scanline
        while (strlen($icANDmask[$key][$y]) % 32) {
          $icANDmask[$key][$y] .= '0';
        }
      }
      $icAND[$key] = '';
      foreach ($icANDmask[$key] as $y => $scanlinemaskbits) {
        for ($i = 0; $i  $gd_image) {
      $biSizeImage = $ImageWidths[$key] * $ImageHeights[$key] * ($bpp[$key] / 8);
 
      // BITMAPINFOHEADER - 40 bytes
      $BitmapInfoHeader[$key] = '';
      $BitmapInfoHeader[$key] .= "\x28\x00\x00\x00";               // DWORD biSize;
      $BitmapInfoHeader[$key] .= $this->LittleEndian2String($ImageWidths[$key], 4);   // LONG  biWidth;
      // The biHeight member specifies the combined
      // height of the XOR and AND masks.
      $BitmapInfoHeader[$key] .= $this->LittleEndian2String($ImageHeights[$key] * 2, 4); // LONG  biHeight;
      $BitmapInfoHeader[$key] .= "\x01\x00";                   // WORD  biPlanes;
        $BitmapInfoHeader[$key] .= chr($bpp[$key])."\x00";             // wBitCount;
      $BitmapInfoHeader[$key] .= "\x00\x00\x00\x00";               // DWORD biCompression;
      $BitmapInfoHeader[$key] .= $this->LittleEndian2String($biSizeImage, 4);      // DWORD biSizeImage;
      $BitmapInfoHeader[$key] .= "\x00\x00\x00\x00";               // LONG  biXPelsPerMeter;
      $BitmapInfoHeader[$key] .= "\x00\x00\x00\x00";               // LONG  biYPelsPerMeter;
      $BitmapInfoHeader[$key] .= "\x00\x00\x00\x00";               // DWORD biClrUsed;
      $BitmapInfoHeader[$key] .= "\x00\x00\x00\x00";               // DWORD biClrImportant;
    }
 
 
    $icOndata= "\x00\x00";                   // idReserved;  // Reserved (must be 0)
    $icondata .= "\x01\x00";                   // idType;    // Resource Type (1 for icons)
    $icondata .= $this->LittleEndian2String(count($gd_image_array), 2); // idCount;   // How many images&#63;
 
    $dwImageOffset = 6 + (count($gd_image_array) * 16);
    foreach ($gd_image_array as $key => $gd_image) {
      // ICONDIRENTRY  idEntries[1]; // An entry for each image (idCount of 'em)
 
      $icondata .= chr($ImageWidths[$key]);           // bWidth;     // Width, in pixels, of the image
      $icondata .= chr($ImageHeights[$key]);          // bHeight;     // Height, in pixels, of the image
      $icondata .= chr($totalcolors[$key]);           // bColorCount;   // Number of colors in image (0 if >=8bpp)
      $icondata .= "\x00";                   // bReserved;    // Reserved ( must be 0)
 
      $icondata .= "\x01\x00";                 // wPlanes;     // Color Planes
      $icondata .= chr($bpp[$key])."\x00";           // wBitCount;    // Bits per pixel
 
      $dwBytesInRes = 40 + strlen($icXOR[$key]) + strlen($icAND[$key]);
      $icondata .= $this->LittleEndian2String($dwBytesInRes, 4);    // dwBytesInRes;  // How many bytes in this resource&#63;
 
      $icondata .= $this->LittleEndian2String($dwImageOffset, 4);   // dwImageOffset;  // Where in the file is this image&#63;
      $dwImageOffset += strlen($BitmapInfoHeader[$key]);
      $dwImageOffset += strlen($icXOR[$key]);
      $dwImageOffset += strlen($icAND[$key]);
    }
 
    foreach ($gd_image_array as $key => $gd_image) {
      $icondata .= $BitmapInfoHeader[$key];
      $icondata .= $icXOR[$key];
      $icondata .= $icAND[$key];
    }
 
    return $icondata;
  }
 
  function LittleEndian2String($number, $minbytes=1) {
    $intstring = '';
    while ($number > 0) {
      $intstring = $intstring.chr($number & 255);
      $number >>= 8;
    }
    return str_pad($intstring, $minbytes, "\x00", STR_PAD_RIGHT);
  }
 
  function GetPixelColor(&$img, $x, $y) {
    if (!is_resource($img)) {
      return false;
    }
    return @ImageColorsForIndex($img, @ImageColorAt($img, $x, $y));
  }
 
}

2,后台

引入类:

Yii::$enableIncludePath = false;
Yii::import ( 'application.extensions.ico.phpthumb_ico', 1 );

解决生成黑色背景的问题

imagealphablending($resize_im, false);//不合并颜色,直接用$im图像颜色替换,包括透明色
imagesavealpha($resize_im, true);//不要丢了$resize_im图像的透明色
完整方法:

/**
   * icoMaker 在线生成ICO图标
   * @author flashalliance
   */
  public function actionIco() {
    $this->breadcrumbs=array_merge($this->breadcrumbs,array(
        'ICO图标制作'
    ));
    $output = "";
    $errors=array();
    if(isset($_GET['action'])&&$_GET['action'] == 'make'){
      if(isset($_FILES['upimage']['tmp_name']) && $_FILES['upimage']['tmp_name'] && is_uploaded_file($_FILES['upimage']['tmp_name'])){
        if($_FILES['upimage']['size']>204800){
          $errors[]="你上传的文件过大,最大不能超过200K。";
        }
        $fileext = array("image/pjpeg","image/jpeg","image/gif","image/x-png","image/png");
        if(!in_array($_FILES['upimage']['type'],$fileext)){
          $errors[]="你上传的文件格式不正确,仅支持 png, jpg, gif格式。";
        }
        if($im = @imagecreatefrompng($_FILES['upimage']['tmp_name']) or $im = @imagecreatefromgif($_FILES['upimage']['tmp_name']) or $im = @imagecreatefromjpeg($_FILES['upimage']['tmp_name'])){
          $imginfo = @getimagesize($_FILES['upimage']['tmp_name']);
          if(!is_array($imginfo)){
            $errors[]="图像格式错误!";
          }
          if(empty($errors)){
            switch($_POST['size']){
              case 1;
              $resize_im = @imagecreatetruecolor(16,16);
              $size = 16;
              break;
              case 2;
              $resize_im = @imagecreatetruecolor(32,32);
              $size = 32;
              break;
              case 3;
              $resize_im = @imagecreatetruecolor(48,48);
              $size = 48;
              break;
              default;
              $resize_im = @imagecreatetruecolor(32,32);
              $size = 32;
              break;
            }
 
            imagesavealpha($im, true);
            imagealphablending($resize_im, false);//不合并颜色,直接用$im图像颜色替换,包括透明色
            imagesavealpha($resize_im, true);//不要丢了$resize_im图像的透明色,解决生成黑色背景的问题
            imagecopyresampled($resize_im,$im,0,0,0,0,$size,$size,$imginfo[0],$imginfo[1]);
 
            Yii::$enableIncludePath = false;
            Yii::import ( 'application.extensions.ico.phpthumb_ico', 1 );
            $icon = new phpthumb_ico();
            $gd_image_array = array($resize_im);
            $icon_data = $icon->GD2ICOstring($gd_image_array);
            $bas_path=dirname ( Yii::app ()->BasePath );
            $bas_new_path=$bas_path.'/upload/ico/';
            if(!is_dir($bas_new_path)){
              mkdir($bas_new_path, 0777, true);
            }
            $filePath=$bas_new_path. date("Ymdhis").uniqid(). rand(1,1000) . ".ico";
            if(file_put_contents($filePath, $icon_data)){
              $output = str_replace($bas_path,'',$filePath);
            }
          }
        }else{
          $errors[]="生成错误请重试!";
        }
      }
    }
    $this->render ( 'ico',array('output'=>$output,'errors'=>$errors));
  }

3,前台

在线制作ICO图标

<&#63;php $form = $this->beginWidget ( 'CActiveForm', array ( 'id' => 'ico-form', 'htmlOptions' => array ( 'id' => 'view_table', 'class' => 'add-form padding-10', 'enctype'=>'multipart/form-data' ), 'action'=>'/tool/ico&#63;action=make', 'enableAjaxValidation' => false ) ); &#63;>

选择文件

png,jpg,gif

<&#63;php $this->endWidget(); &#63;> <&#63;php if(!empty($errors) or !empty($output)):&#63;>

生成结果

<&#63;php if(!empty($errors)):&#63;>

<&#63;php foreach ($errors as $e):&#63;> <&#63;php echo $e;&#63;>
<&#63;php endforeach;&#63;>

<&#63;php endif;&#63;> <&#63;PHP if (!empty($output)):&#63;> <&#63;php $form = $this->beginWidget ( 'CActiveForm', array ( 'id' => 'ico-form', 'htmlOptions' => array ( 'id' => 'view_table', 'class' => 'add-form padding-10', ), 'action'=>'/tool/icoDownload', 'enableAjaxValidation' => false ) ); &#63;> <&#63;php echo CHtml::hiddenField('filePath',$output);&#63;>

在线制作ICO图标_favicon.ico

<&#63;php $this->endWidget(); &#63;> <&#63;php endif;&#63;>

<&#63;php endif;&#63;>

再给大家分享一个独立的类

phpthumb.ico.php

<&#63;php 
////////////////////////////////////////////////////////////// 
/// phpThumb() by James Heinrich   // 
//    available at http://phpthumb.sourceforge.net   /// 
////////////////////////////////////////////////////////////// 
///                             // 
// phpthumb.ico.php - .ICO output format functions     // 
//                             /// 
////////////////////////////////////////////////////////////// 
class phpthumb_ico { 
  function phpthumb_ico() { 
    return true; 
  } 
  function GD2ICOstring(&$gd_image_array) { 
    foreach ($gd_image_array as $key => $gd_image) { 
      $ImageWidths[$key] = ImageSX($gd_image); 
      $ImageHeights[$key] = ImageSY($gd_image); 
      $bpp[$key]     = ImageIsTrueColor($gd_image) &#63; 32 : 24; 
      $totalcolors[$key] = ImageColorsTotal($gd_image); 
      $icXOR[$key] = ''; 
      for ($y = $ImageHeights[$key] - 1; $y >= 0; $y--) { 
        for ($x = 0; $x <$ImageWidths[$key]; $x++) { 
          $argb = $this->GetPixelColor($gd_image, $x, $y); 
          $a = round(255 * ((127 - $argb['alpha']) / 127)); 
          $r = $argb['red']; 
          $g = $argb['green']; 
          $b = $argb['blue']; 
          if ($bpp[$key] == 32) { 
            $icXOR[$key] .= chr($b).chr($g).chr($r).chr($a); 
          } elseif ($bpp[$key] == 24) { 
            $icXOR[$key] .= chr($b).chr($g).chr($r); 
          } 
          if ($a <128) { 
            @$icANDmask[$key][$y] .= '1'; 
          } else { 
            @$icANDmask[$key][$y] .= '0'; 
          } 
        } 
        // mask bits are 32-bit aligned per scanline 
        while (strlen($icANDmask[$key][$y]) % 32) { 
          $icANDmask[$key][$y] .= '0'; 
        } 
      } 
      $icAND[$key] = ''; 
      foreach ($icANDmask[$key] as $y => $scanlinemaskbits) { 
        for ($i = 0; $i  $gd_image) { 
      $biSizeImage = $ImageWidths[$key] * $ImageHeights[$key] * ($bpp[$key] / 8); 
      // BITMAPINFOHEADER - 40 bytes 
      $BitmapInfoHeader[$key] = ''; 
      $BitmapInfoHeader[$key] .= "/x28/x00/x00/x00";               // DWORD biSize; 
      $BitmapInfoHeader[$key] .= $this->LittleEndian2String($ImageWidths[$key], 4);   // LONG  biWidth; 
      // The biHeight member specifies the combined 
      // height of the XOR and AND masks. 
      $BitmapInfoHeader[$key] .= $this->LittleEndian2String($ImageHeights[$key] * 2, 4); // LONG  biHeight; 
      $BitmapInfoHeader[$key] .= "/x01/x00";                   // WORD  biPlanes; 
        $BitmapInfoHeader[$key] .= chr($bpp[$key])."/x00";             // wBitCount; 
      $BitmapInfoHeader[$key] .= "/x00/x00/x00/x00";               // DWORD biCompression; 
      $BitmapInfoHeader[$key] .= $this->LittleEndian2String($biSizeImage, 4);      // DWORD biSizeImage; 
      $BitmapInfoHeader[$key] .= "/x00/x00/x00/x00";               // LONG  biXPelsPerMeter; 
      $BitmapInfoHeader[$key] .= "/x00/x00/x00/x00";               // LONG  biYPelsPerMeter; 
      $BitmapInfoHeader[$key] .= "/x00/x00/x00/x00";               // DWORD biClrUsed; 
      $BitmapInfoHeader[$key] .= "/x00/x00/x00/x00";               // DWORD biClrImportant; 
    } 
    $icOndata= "/x00/x00";                   // idReserved;  // Reserved (must be 0) 
    $icondata .= "/x01/x00";                   // idType;    // Resource Type (1 for icons) 
    $icondata .= $this->LittleEndian2String(count($gd_image_array), 2); // idCount;   // How many images&#63; 
    $dwImageOffset = 6 + (count($gd_image_array) * 16); 
    foreach ($gd_image_array as $key => $gd_image) { 
      // ICONDIRENTRY  idEntries[1]; // An entry for each image (idCount of 'em) 
      $icondata .= chr($ImageWidths[$key]);           // bWidth;     // Width, in pixels, of the image 
      $icondata .= chr($ImageHeights[$key]);          // bHeight;     // Height, in pixels, of the image 
      $icondata .= chr($totalcolors[$key]);           // bColorCount;   // Number of colors in image (0 if >=8bpp) 
      $icondata .= "/x00";                   // bReserved;    // Reserved ( must be 0) 
      $icondata .= "/x01/x00";                 // wPlanes;     // Color Planes 
      $icondata .= chr($bpp[$key])."/x00";           // wBitCount;    // Bits per pixel 
      $dwBytesInRes = 40 + strlen($icXOR[$key]) + strlen($icAND[$key]); 
      $icondata .= $this->LittleEndian2String($dwBytesInRes, 4);    // dwBytesInRes;  // How many bytes in this resource&#63; 
      $icondata .= $this->LittleEndian2String($dwImageOffset, 4);   // dwImageOffset;  // Where in the file is this image&#63; 
      $dwImageOffset += strlen($BitmapInfoHeader[$key]); 
      $dwImageOffset += strlen($icXOR[$key]); 
      $dwImageOffset += strlen($icAND[$key]); 
    } 
    foreach ($gd_image_array as $key => $gd_image) { 
      $icondata .= $BitmapInfoHeader[$key]; 
      $icondata .= $icXOR[$key]; 
      $icondata .= $icAND[$key]; 
    } 
    return $icondata; 
  } 
  function LittleEndian2String($number, $minbytes=1) { 
    $intstring = ''; 
    while ($number > 0) { 
      $intstring = $intstring.chr($number & 255); 
      $number >>= 8; 
    } 
    return str_pad($intstring, $minbytes, "/x00", STR_PAD_RIGHT); 
  } 
  function GetPixelColor(&$img, $x, $y) { 
    if (!is_resource($img)) { 
      return false; 
    } 
    return @ImageColorsForIndex($img, @ImageColorAt($img, $x, $y)); 
  } 
} 
&#63;>

index.php



 


 
 
 

<&#63;PHP $output = ""; if(isset($_GET['action'])&&$_GET['action'] == 'make'){ if(isset($_FILES['upimage']['tmp_name']) && $_FILES['upimage']['tmp_name'] && is_uploaded_file($_FILES['upimage']['tmp_name'])){ if($_FILES['upimage']['type']>210000){ echo "你上传的文件体积超过了限制 最大不能超过200K"; exit(); } $fileext = array("image/pjpeg","image/gif","image/x-png","image/png","image/jpeg","image/jpg"); if(!in_array($_FILES['upimage']['type'],$fileext)){ echo "你上传的文件格式不正确 仅支持 jpg,gif,png"; exit(); } if($im = @imagecreatefrompng($_FILES['upimage']['tmp_name']) or $im = @imagecreatefromgif($_FILES['upimage']['tmp_name']) or $im = @imagecreatefromjpeg($_FILES['upimage']['tmp_name'])){ $imginfo = @getimagesize($_FILES['upimage']['tmp_name']); if(!is_array($imginfo)){ echo "图形格式错误!"; } switch($_POST['size']){ case 1; $resize_im = @imagecreatetruecolor(16,16); $size = 16; break; case 2; $resize_im = @imagecreatetruecolor(32,32); $size = 32; break; case 3; $resize_im = @imagecreatetruecolor(48,48); $size = 48; break; default; $resize_im = @imagecreatetruecolor(32,32); $size = 32; break; } imagecopyresampled($resize_im,$im,0,0,0,0,$size,$size,$imginfo[0],$imginfo[1]); include "phpthumb.ico.php"; $icon = new phpthumb_ico(); $gd_image_array = array($resize_im); $icon_data = $icon->GD2ICOstring($gd_image_array); $filename = "temp/".date("Ymdhis").rand(1,1000).".ico"; if(file_put_contents($filename, $icon_data)){ $output = "生成成功!请点右键->另存为 保存到本地
点击下载"; } }else{ echo "生成错误请重试!"; } } } &#63;>

<&#63;PHP if($output){ echo ""; } &#63;>

请上传你要转换成.ico的图片

支持格式 png、jpg、gif在线转换成.ico图标。如何你想制作更丰富的.ico图标请下载ICO制作软件
目标尺寸:

".$output."

<&#63;php $doc = new DOMDocument(); $doc->load( 'http://link.qim.net.cn/xml.xml' ); $links = $doc->getElementsByTagName( "link" ); foreach( $links as $link ) { $publishers = $link->getElementsByTagName( "homepage" ); $homepage = $publishers->item(0)->nodeValue; $titles = $link->getElementsByTagName( "title" ); $title = $titles->item(0)->nodeValue; $cOntents= $link->getElementsByTagName( "content" ); $cOntent= $contents->item(0)->nodeValue; echo "$title
"; } &#63;>


推荐阅读
  • 本文介绍了使用AJAX的POST请求实现数据修改功能的方法。通过ajax-post技术,可以实现在输入某个id后,通过ajax技术调用post.jsp修改具有该id记录的姓名的值。文章还提到了AJAX的概念和作用,以及使用async参数和open()方法的注意事项。同时强调了不推荐使用async=false的情况,并解释了JavaScript等待服务器响应的机制。 ... [详细]
  • 本文讨论了Alink回归预测的不完善问题,指出目前主要针对Python做案例,对其他语言支持不足。同时介绍了pom.xml文件的基本结构和使用方法,以及Maven的相关知识。最后,对Alink回归预测的未来发展提出了期待。 ... [详细]
  • 在说Hibernate映射前,我们先来了解下对象关系映射ORM。ORM的实现思想就是将关系数据库中表的数据映射成对象,以对象的形式展现。这样开发人员就可以把对数据库的操作转化为对 ... [详细]
  • 本文介绍了在SpringBoot中集成thymeleaf前端模版的配置步骤,包括在application.properties配置文件中添加thymeleaf的配置信息,引入thymeleaf的jar包,以及创建PageController并添加index方法。 ... [详细]
  • Java验证码——kaptcha的使用配置及样式
    本文介绍了如何使用kaptcha库来实现Java验证码的配置和样式设置,包括pom.xml的依赖配置和web.xml中servlet的配置。 ... [详细]
  • 在springmvc框架中,前台ajax调用方法,对图片批量下载,如何弹出提示保存位置选框?Controller方法 ... [详细]
  • 本文介绍了使用cacti监控mssql 2005运行资源情况的操作步骤,包括安装必要的工具和驱动,测试mssql的连接,配置监控脚本等。通过php连接mssql来获取SQL 2005性能计算器的值,实现对mssql的监控。详细的操作步骤和代码请参考附件。 ... [详细]
  • 本文介绍了前端人员必须知道的三个问题,即前端都做哪些事、前端都需要哪些技术,以及前端的发展阶段。初级阶段包括HTML、CSS、JavaScript和jQuery的基础知识。进阶阶段涵盖了面向对象编程、响应式设计、Ajax、HTML5等新兴技术。高级阶段包括架构基础、模块化开发、预编译和前沿规范等内容。此外,还介绍了一些后端服务,如Node.js。 ... [详细]
  • Java实战之电影在线观看系统的实现
    本文介绍了Java实战之电影在线观看系统的实现过程。首先对项目进行了简述,然后展示了系统的效果图。接着介绍了系统的核心代码,包括后台用户管理控制器、电影管理控制器和前台电影控制器。最后对项目的环境配置和使用的技术进行了说明,包括JSP、Spring、SpringMVC、MyBatis、html、css、JavaScript、JQuery、Ajax、layui和maven等。 ... [详细]
  • android listview OnItemClickListener失效原因
    最近在做listview时发现OnItemClickListener失效的问题,经过查找发现是因为button的原因。不仅listitem中存在button会影响OnItemClickListener事件的失效,还会导致单击后listview每个item的背景改变,使得item中的所有有关焦点的事件都失效。本文给出了一个范例来说明这种情况,并提供了解决方法。 ... [详细]
  • 本文讨论了如何在codeigniter中识别来自angularjs的请求,并提供了两种方法的代码示例。作者尝试了$this->input->is_ajax_request()和自定义函数is_ajax(),但都没有成功。最后,作者展示了一个ajax请求的示例代码。 ... [详细]
  • 网络请求模块选择——axios框架的基本使用和封装
    本文介绍了选择网络请求模块axios的原因,以及axios框架的基本使用和封装方法。包括发送并发请求的演示,全局配置的设置,创建axios实例的方法,拦截器的使用,以及如何封装和请求响应劫持等内容。 ... [详细]
  • 本文介绍了一种处理AJAX操作授权过期的全局方式,以解决Asp.net MVC中Session过期异常的问题。同时还介绍了基于WebImage的图片上传工具类。详细内容请参考链接:https://www.cnblogs.com/starluck/p/8284949.html ... [详细]
  • 本文介绍了如何使用JSONObiect和Gson相关方法实现json数据与kotlin对象的相互转换。首先解释了JSON的概念和数据格式,然后详细介绍了相关API,包括JSONObject和Gson的使用方法。接着讲解了如何将json格式的字符串转换为kotlin对象或List,以及如何将kotlin对象转换为json字符串。最后提到了使用Map封装json对象的特殊情况。文章还对JSON和XML进行了比较,指出了JSON的优势和缺点。 ... [详细]
  • 本文介绍了Android中的assets目录和raw目录的共同点和区别,包括获取资源的方法、目录结构的限制以及列出资源的能力。同时,还解释了raw目录中资源文件生成的ID,并说明了这些目录的使用方法。 ... [详细]
author-avatar
拍友2602909025
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有