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

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

求教web发布模块如何设置略缩图入库

[复制链接]
发表于 2009-4-9 14:09:03 | 显示全部楼层 |阅读模式
通过winsock抓包得到
pe!=''){
   var url='下载地址'+(obj.length+1)+'|'+strT[0];
   obj.options[obj.length]=new Option(url,url);
  }
  else if (sModuleIDs=='5'&type!=''){
   var url='图片名称'+(obj.length+1)+'|'+strT[0];
   obj.options[obj.length]=new Option(url,url);
  }
  else if (sModuleIDs=='6'&type!=''){
   var url='影片名称'+(obj.length+1)+'|'+strT[0];
   obj.options[obj.length]=new Option(url,url);
  }  
  else if (sModuleIDs=='4'||sModuleIDs=='9'||(sModuleIDs=='10'&type=='4'))
  {  
      obj.value+=strT[0]+'\n';
  }
  else
  {
   obj.value=strT[0];
  }
  if (objname2!='')
  {
   parent.document.getElementById(objname2).value+=strT[1];
  }
}
}
function AddUploadFiles(objname,files,filesv){
if(objname!=''){
  //alert("OK!");
  var obj = parent.document.getElementById(objname);
  obj.options[obj.length]=new Option(filesv,files);
}
}
</SCRIPT>
</HEAD>
<BODY topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 marginwidth=0 marginheight=0>
<TABLE border=0 cellspacing=2 cellpadding=0 WIDTH="100%" HEIGHT="100%">
<SCRIPT language=javascript>SaveFilesUrl('3','','{$download_dir}/Shop/2009-4/2009040913214084863.jpg|','pic','');AddUploadFiles('TempUploadFiles','{$download_dir}/Shop/2009-4/2009040913214084863.jpg','2009040913214084863.jpg');</script><Script Language="JavaScript">alert('上传文件成功!');location.href='http://www.57netcom.com/include/Upload.asp?ID=3&Type=0&Obj=pic&TObj=TempUploadFiles';</Script>

如何设置图片发布
&pic
发表于 2009-4-9 14:13:41 | 显示全部楼层
朋友,你弄错了,这个不是数据包,你重新抓取一下。
 楼主| 发表于 2009-4-9 15:37:36 | 显示全部楼层
谢谢楼上的


HTTP/1.1 200 OK
Cache-Control: private
Date: Thu, 09 Apr 2009 05:21:41 GMT
Content-Length: 2130
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: %B8%FC%D0%C2=login%5Fmode=&iscookies=&login%5Fusername=&login%5Fid=&login%5Fpassword=&cookies%5Ftrue=yes; expires=Thu, 09-Apr-2009 05:51:40 GMT; path=/

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<TITLE>57综合信息网 新疆生活网 - 上传文件</TITLE>
<style type="text/css">
/* Css */
</style>
<SCRIPT language=javascript>
if (top.location==self.location) { top.location="./"; }
function upload_submit()
{
    var strFileName=document.frm_upload.FileName.value;
if (strFileName=="")
{
     alert("请选择要上传的文件");
  document.frm_upload.FileName.focus();
     return false;
   }
}
function SaveFilesUrl(sModuleIDs,type,arr,objname,objname2)
{
if(objname!='')
{
  var obj = parent.document.getElementById(objname);
  var strT=arr.split('|');
  if (sModuleIDs=='2'&ty


这个呢
 楼主| 发表于 2009-4-9 15:38:30 | 显示全部楼层
GET /include/Upload.asp?ID=3&Type=0&Obj=pic&TObj=TempUploadFiles HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/QVOD, */*
Referer: http://www.57netcom.com/admin/admin_Shop.asp?Action=Add&ChannelIDs=3
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: www.57netcom.com
Connection: Keep-Alive
Cookie: QQ_IPAddress=%u65B0%u7586%2C%u4E4C%u9C81%u6728%u9F50%u5E02; ASPSESSIONIDQQBCTQQD=LBNKGOHCFLFJACMOHGGPNDLP; QQ_IPAddress=%u65B0%u7586%2C%u4E4C%u9C81%u6728%u9F50%u5E02; %B8%FC%D0%C2=login%5Fmode=&iscookies=&login%5Fusername=&login%5Fid=&login%5Fpassword=&cookies%5Ftrue=yes
 楼主| 发表于 2009-4-9 15:39:19 | 显示全部楼层
HTTP/1.1 200 OK
Cache-Control: private
Date: Thu, 09 Apr 2009 05:23:36 GMT
Content-Length: 2147
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: %B8%FC%D0%C2=cookies%5Ftrue=yes&login%5Fpassword=&login%5Fid=&login%5Fusername=&iscookies=&login%5Fmode=; expires=Thu, 09-Apr-2009 05:53:36 GMT; path=/

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<TITLE>57综合信息网 新疆生活网 - 上传文件</TITLE>
<style type="text/css">
/* Css */
</style>
<SCRIPT language=javascript>
if (top.location==self.location) { top.location="./"; }
function upload_submit()
{
    var strFileName=document.frm_upload.FileName.value;
if (strFileName=="")
{
     alert("请选择要上传的文件");
  document.frm_upload.FileName.focus();
     return false;
   }
}
function SaveFilesUrl(sModuleIDs,type,arr,objname,objname2)
{
if(objname!='')
{
  var obj = parent.document.getElementById(objname);
  var strT=arr.split('|');
  if (sModuleIDs=='2'&ty













pe!=''){
   var url='下载地址'+(obj.length+1)+'|'+strT[0];
   obj.options[obj.length]=new Option(url,url);
  }
  else if (sModuleIDs=='5'&type!=''){
   var url='图片名称'+(obj.length+1)+'|'+strT[0];
   obj.options[obj.length]=new Option(url,url);
  }
  else if (sModuleIDs=='6'&type!=''){
   var url='影片名称'+(obj.length+1)+'|'+strT[0];
   obj.options[obj.length]=new Option(url,url);
  }  
  else if (sModuleIDs=='4'||sModuleIDs=='9'||(sModuleIDs=='10'&type=='4'))
  {  
      obj.value+=strT[0]+'\n';
  }
  else
  {
   obj.value=strT[0];
  }
  if (objname2!='')
  {
   parent.document.getElementById(objname2).value+=strT[1];
  }
}
}
function AddUploadFiles(objname,files,filesv){
if(objname!=''){
  //alert("OK!");
  var obj = parent.document.getElementById(objname);
  obj.options[obj.length]=new Option(filesv,files);
}
}
</SCRIPT>
</HEAD>
<BODY topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 marginwidth=0 marginheight=0>
<TABLE border=0 cellspacing=2 cellpadding=0 WIDTH="100%" HEIGHT="100%">
<FORM name=frm_upload ACTION="Upload.asp?action=up&id=3&type=0&obj=pic&Tobj=TempUploadFiles" method=post ENCTYPE="multipart/form-data">
<INPUT type=hidden NAME="UploadCode30" VALUE="1638">
<TR><TD><INPUT type=file name=FileName VALUE="" size=30 class=txt>&nbsp;<INPUT type=submit name=submit VALUE="上传" class=btn></TD></TR>
</FORM>
</TABLE>
</BODY>
</HTML>
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

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

GMT+8, 2024-11-17 05:51

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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