摘要:
download.php 代码 Html调用 阅读全文
posted @ 2016-05-30 09:11
PHP狗
阅读(3981)
评论(0)
推荐(0)
|
摘要:
fileInfo = $fileInfo; $this->uploadDir = $uploadDir; $this->maxFileSize = $maxFileSize; $this->allowExt = $allowExt; $this->checkImage = $checkImage; $this->al... 阅读全文
posted @ 2016-05-30 09:01
PHP狗
阅读(232)
评论(0)
推荐(0)
摘要:
<?php //判断GD库是否存在 if (!function_exists('imagepng')) { die('GD库不存在'); } //图片路径 $imagePath = './img/a.jpg'; //获取图片信息 $imageInfo = getimagesize($imagePath); //获取图片扩展名 $imageExtension = image_type_t... 阅读全文
posted @ 2016-05-29 12:04
PHP狗
阅读(428)
评论(0)
推荐(0)
摘要:
<?php //判断GD库是否存在 if (function_exists('imagepng')) { dir('GD库不存在'); } //图片路径 $imagePath = './img/a.jpg'; //图片信息 $imageInfo = getimagesize($imagePath); //图片扩展名 $imageExtension = image_type_to_ext... 阅读全文
posted @ 2016-05-29 11:37
PHP狗
阅读(1069)
评论(0)
推荐(0)
摘要:
<?php if (function_exists('imagepng')) { dir('GD库不存在'); } //图片路径 $imagePath = './img/a.jpg'; //获取文件类型 $imageInfo = getimagesize($imagePath); $imageExtension = image_type_to_extension($imageInfo[... 阅读全文
posted @ 2016-05-29 11:03
PHP狗
阅读(2480)
评论(0)
推荐(0)
|