摘要:
getimagesize() 函数用于获取图像尺寸,类型等信息。 imagesx() 函数用于获取图像的宽度。 imagesy() 函数用于获取图像的高度。 getimagesize() 函数用于获取图像尺寸,类型等信息。 imagesx() 函数用于获取图像的宽度。 imagesy() 函数用于获 阅读全文
posted @ 2016-06-23 13:53
谦信君
阅读(440)
评论(0)
推荐(0)
摘要:
/** *根据路径path建立多级目录 *$dir目标目录 $mode权限,0700表示最高权限 */ function makedir( $dir , $mode = "0700" ) { if(strpos($dir , "/" )){ $dir_path = "" ; $dir_info = explode ( "/" , $dir ); ... 阅读全文
posted @ 2016-06-23 13:51
谦信君
阅读(596)
评论(0)
推荐(0)
摘要:
$Dw){ $Par=$Dw/$width; $width=$Dw; $height=$height*$Par; IF($height>$Dh){ $Par=$Dh/$height; $height=$Dh; ... 阅读全文
posted @ 2016-06-23 13:50
谦信君
阅读(2868)
评论(0)
推荐(0)

浙公网安备 33010602011771号