摘要:
download.php 代码 Html调用 阅读全文
摘要:
fileInfo = $fileInfo; $this->uploadDir = $uploadDir; $this->maxFileSize = $maxFileSize; $this->allowExt = $allowExt; $this->checkImage = $checkImage; $this->al... 阅读全文
摘要:
fileInfo = $fileInfo; $this->uploadDir = $uploadDir; $this->maxFileSize = $maxFileSize; $this->allowExt = $allowExt; $this->checkImage = $checkImage; $this->al... 阅读全文
摘要:
<?php //判断GD库是否存在 if (!function_exists('imagepng')) { die('GD库不存在'); } //图片路径 $imagePath = './img/a.jpg'; //获取图片信息 $imageInfo = getimagesize($imagePath); //获取图片扩展名 $imageExtension = image_type_t... 阅读全文
摘要:
<?php //判断GD库是否存在 if (function_exists('imagepng')) { dir('GD库不存在'); } //图片路径 $imagePath = './img/a.jpg'; //图片信息 $imageInfo = getimagesize($imagePath); //图片扩展名 $imageExtension = image_type_to_ext... 阅读全文
摘要:
<?php if (function_exists('imagepng')) { dir('GD库不存在'); } //图片路径 $imagePath = './img/a.jpg'; //获取文件类型 $imageInfo = getimagesize($imagePath); $imageExtension = image_type_to_extension($imageInfo[... 阅读全文
|