php源码高手进

来源:百度知道 编辑:UC知道 时间:2024/09/24 06:23:04
else
do while not rs.eof
photos=rs("DefaultPicUrl")
pw=aa.getImageSize(Server.MapPath(photos))(1)
ph=aa.getImageSize(Server.MapPath(photos))(2)
if pw>ph then
if pw>PhotoWidth then pw=PhotoWidth
elseif ph>=pw then
if ph>PhotoHeight then ph=PhotoHeight
elseif ph="" or pw="" then
pw=PhotoWidth
ph=PhotoHeight

啥意思 end if

endif 结束if语句。

但是这里不是PHP

这个是asp代码

从数据库读取信息
获取图片的宽高
对比指定的图片大小
大概是不能大于 指定的图片大小

这是php代码吗? 这是asp的吧,end if是结束if语句的啊

他的意思是说,php高手,看你会asp吗?