| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 577 人关注过本帖
标题:提问帖,望指教 后台添加图片广告提示无效使用 Null:
只看楼主 加入收藏
a860352567
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2012-10-28
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
提问帖,望指教 后台添加图片广告提示无效使用 Null:
无效使用 Null: 'intseparator'
\admin\uploadclass.asp, line 131
是什么问题 求解决

public function open()
open = 0
if m_error=-1 then
m_error=0
else
exit function
end if
dim lngrequestsize : lngrequestsize=request.totalbytes
if m_totalsize>0 and lngrequestsize>m_totalsize then
m_error=5
exit function
elseif lngrequestsize<1 then
m_error=4
exit function
end if


dim lngchunkbyte : lngchunkbyte = 102400
dim lngreadsize : lngreadsize = 0
m_binform.type = 1
m_binform.open()
do
m_binform.write request.binaryread(lngchunkbyte)
lngreadsize=lngreadsize+lngchunkbyte
if  lngreadsize >= lngrequestsize then exit do
loop
m_binform.position=0
dim binrequestdata : binrequestdata=m_binform.read()


dim bcrlf,strseparator,intseparator
bcrlf=chrb(13)&chrb(10)
intseparator=instrb(1,binrequestdata,bcrlf)-1
strseparator=leftb(binrequestdata,intseparator)  【【【【【这里是131行】】】】】


dim stritem,strinam,strftyp,strpuri,strfnam,strfext,lngfsiz
const strsplit="'"">"
dim strformitem,strfileitem,inttemp,strtemp
dim p_start : p_start=intseparator+2
dim p_end
do
搜索更多相关主题的帖子: admin public function 图片 广告 
2012-10-28 16:51
a860352567
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2012-10-28
收藏
得分:0 
asp本地调试 出现的错误 弄好了好久了 大牛们 指点指点我把
2012-10-28 16:53
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:20 
intseparator的值= NULL
能引起intseparator = NULL 可能是 binrequestdata = null或者bcrlf = null


网上有人遇到同样的问题,怀疑是你下载的代码本来就有问题

----我怎能在别人的苦难面前转过脸去----
2012-10-29 10:41
快速回复:提问帖,望指教 后台添加图片广告提示无效使用 Null:
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015881 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved