火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 2841|回复: 2

表单中所有内容都写到模块中,就是发布不成

[复制链接]
发表于 2008-3-17 01:27:08 | 显示全部楼层 |阅读模式
求高手帮助

来源页部分代码
  1. <form action="f_save.asp" method="post" enctype="multipart/form-data" name="form1">
复制代码


发表页部分代码

  1. <!--#include file="../conn/upload_5xsoft.inc"-->
  2. <!--#include file="../conn/conn.asp" -->
  3. <%
  4. function invertr(str)
  5.     invertr=replace(replace(replace(replace(str,"<","<"),">",">"),chr(13),"<br>")," "," ")
  6. end function
  7. set upload=new upload_5xSoft ''建立上传对象
  8.      '--------将日期转化成文件名--------
  9. function MakedownName(x)
  10. if x = "url-1" then
  11.   getValue = upload.form("newsid-1")
  12. elseif x = "url-2" then
  13.   getValue = upload.form("newsid-2")
  14. elseif x = "url-3" then
  15.   getValue = upload.form("newsid-3")
  16. elseif x = "url-4" then
  17.   getValue = upload.form("newsid-4")
  18. elseif x = "url-5" then
  19.   getValue = upload.form("newsid-5")
  20. elseif x = "url-6" then
  21.   getValue = upload.form("newsid-6")
  22. elseif x = "url-7" then
  23.   getValue = upload.form("newsid-7")
  24. elseif x = "url-8" then
  25.   getValue = upload.form("newsid-8")
  26. elseif x = "url-9" then
  27.   getValue = upload.form("newsid-9")
  28. elseif x = "url-10" then
  29.   getValue = upload.form("newsid-10")
  30. end if
  31. makedownName=htmlencode2(getValue)
  32. fileformat=lcase(right(makedownName,7))  '这里判断文件上传是否非法
  33. if fileformat<>"code123" then
  34. response.write"<script>alert('你的非法操作已经记录在案!')</script>"
  35. response.end
  36. end if
  37. end function

  38. s_fybh=upload.form("s_fybh")
  39. s_jyfs=upload.form("s_jyfs")
复制代码


问题

  1. 发布不成功
  2. 我在发表页中加了一句
  3. if s_jyfs<>"" then
  4.     response.write "有"
  5.     else     
  6.     response.write "没有"
  7. end if
  8. 发现表单中的数据并没有提交
复制代码
求高手指点

[ 本帖最后由 yuqishange 于 2008-3-17 01:33 编辑 ]
发表于 2008-3-17 08:05:16 | 显示全部楼层
用winsock截取数据包就行了,火车又不是ET.
发表于 2008-3-17 12:18:43 | 显示全部楼层
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2025-7-18 22:54

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表