错误类型:
Microsoft VBScript 运行时错误 (0x800A0006)
溢出
/333/inc/img_hh.asp, 第 160 行
code如下:
function get_wh(str,ww,hh)
set pp=new imgInfo
w = pp.imgW(server.mappath(str))
h = pp.imgH(server.mappath(str))
bb = w/h <!--这个就是第160行-->
bbb = ww/hh
cc = ww/w
ccc = hh/h
if w <= ww and h <=hh then
w=w
h=h
else
if bb > = bbb then
w = ww
h = h*(cc)
else
h = hh
w = w*(ccc)
end if
end if
set pp = nothing
get_wh= "weight= "&w& " height= "&h& " "
end function
有谁知道该怎么解决呀。谢谢各位大虾了。叩首!!
------解决方案--------------------
response.write w& " <br> "&h
加这个看看具体的数据...