//输出图片
list($width, $height, $type, $attr) = getimagesize($pic);
$mime = image_type_to_extension($type, false);
header('Content-Type: image/' . $mime);
$fun = "imagecreatefrom" . $mime;
$image = $fun($pic);
$funcs = "image" . $mime;
$funcs($image);
//输出图片
list($width, $height, $type, $attr) = getimagesize($pic);
$mime = image_type_to_extension($type, false);
header('Content-Type: image/' . $mime);
$fun = "imagecreatefrom" . $mime;
$image = $fun($pic);
$funcs = "image" . $mime;
$funcs($image);
text = ! isset ( $showText ) ? $showText : $this->text; $this->show (); } function createText($instring) { $outstring = ""...
echo "<script type='text/javascript'>alert('异常错误') </script>"; exit();
和数组的创建一样,数组的输出显示也有三种方法。一。for循环<?php $ms_off
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M