当前位置: 首页 > wzjs >正文

重庆网站托管百度推广怎么推

重庆网站托管,百度推广怎么推,南通营销型网站建设,已有网站 需要整改 怎么做/广告:普遍真理实验室http://commonright.lingd.net 1、在action开头定义要用带的变量 int istemp0;//控制循环的游标 int count0;//存储关联出来的参数数量一般在关联参数后面加上_count就可以获得namejpeg_count char temp[255];//存储生成的关联参数…

/广告:普遍真理实验室http://commonright.lingd.net
1、在action开头定义要用带的变量
    int istemp=0;//控制循环的游标
    int count=0;//存储关联出来的参数数量一般在关联参数后面加上_count就可以获得namejpeg_count
    char temp[255];//存储生成的关联参数namejepg_1,namejepg_2
    char temptolr[255];//存储temp内部存储的字符串//广告:普遍真理实验室http://commonright.lingd.net
2、获取关联数组
    web_reg_save_param("namejpeg","LB=img1.jike.com:82/get?name=","RB=\"","ORD=ALL","SEARCH=BODY",LAST);//广告:普遍真理实验室http://commonright.lingd.net
3、计算关联数组的个数
//获取关联出的字符串数组的大小,通过c语言的atoi函数将字符串转换成整形变量
    //namejpeg_count是关联函数自己定义的不是我们自己声明的因此这里要用("{namejpeg_count}")调用
    count = atoi(lr_eval_string("{namejpeg_count}"));//广告:普遍真理实验室http://commonright.lingd.net
4、获取各个关联数组变量
sprintf(temp,"{namejpeg_%d}",istemp+1);//每次循环应用的不同的namejpeg_X
//广告:普遍真理实验室http://commonright.lingd.net
        sprintf(temptolr,"%s",lr_eval_string(temp));//namejpeg_X存储的关联字符串存入temptolr变量中。
                                                    // 由于temp是在action开头自己声明的,因此 不需要应用“{}”调用
        lr_save_string(temptolr,"tempname");//C的变量不能直接在LR的API里调用,所以必须用lr_save_string进行转换。下面应用tempname就可以了
        web_url("get",
        "URL=http://img1.jike.com:82/get?name={tempname}",
        "Resource=1",
        "RecContentType=application/octet-stream",
        "Referer=http://image.jike.com/so?q={searchparam}",
        "Snapshot=t26.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
5、这个脚本是录制即刻图片搜索的脚本action函数整体脚本如下:
Action()
{
    //---init//广告:普遍真理实验室http://commonright.lingd.net
    int istemp=0;//控制循环的游标
    int count=0;//存储关联出来的参数数量一般在关联参数后面加上_count就可以获得namejpeg_count
    char temp[255];//存储生成的关联参数namejepg_1,namejepg_2
    char temptolr[255];//存储temp内部存储的字符串
    web_url("index.php",
        "URL=http://image.jike.com/index.php",
        "Resource=0",
        "RecContentType=text/html",
        "Referer=",
        "Snapshot=t1.inf",
        "Mode=HTTP",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_concurrent_start(NULL);
    web_url("helpers-min.js",
        "URL=http://image.jike.com/js/helpers-min.js",
        "Resource=1",
        "RecContentType=application/x-javascript",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t2.inf",
        LAST);
    web_url("homeImg.css",
        "URL=http://image.jike.com/style/homeImg.css",
        "Resource=1",
        "RecContentType=text/css",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t3.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_url("baseNew.css",
        "URL=http://image.jike.com/style/baseNew.css",
        "Resource=1",
        "RecContentType=text/css",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t4.inf",
        LAST);
    web_url("logoImg.gif",
        "URL=http://image.jike.com/images/logo/logoImg.gif",
        "Resource=1",
        "RecContentType=image/gif",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t5.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_url("14",
        "URL=http://imagebg.jike.com/recommendPicture/img/GetImg/rpid/14",
        "Resource=1",
        "RecContentType=image/jpeg",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t7.inf",
        LAST);
    web_url("16",
        "URL=http://imagebg.jike.com/recommendPicture/img/GetImg/rpid/16",
        "Resource=1",
        "RecContentType=image/jpeg",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t8.inf",
        LAST);
    web_url("10",
        "URL=http://imagebg.jike.com/recommendPicture/img/GetImg/rpid/10",
        "Resource=1",
        "RecContentType=image/jpeg",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t9.inf",
        LAST);
    web_url("12",
        "URL=http://imagebg.jike.com/recommendPicture/img/GetImg/rpid/12",
        "Resource=1",
        "RecContentType=image/jpeg",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t10.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_url("13",
        "URL=http://imagebg.jike.com/recommendPicture/img/GetImg/rpid/13",
        "Resource=1",
        "RecContentType=image/jpeg",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t11.inf",
        LAST);
    web_url("15",
        "URL=http://imagebg.jike.com/recommendPicture/img/GetImg/rpid/15",
        "Resource=1",
        "RecContentType=image/jpeg",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t12.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_concurrent_end(NULL);
    web_url("BgBase.gif",
        "URL=http://image.jike.com/images/bg/BgBase.gif",
        "Resource=1",
        "RecContentType=image/gif",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t6.inf",
        LAST);
    web_url("favicon.ico",
        "URL=http://image.jike.com/favicon.ico",
        "Resource=1",
        "RecContentType=image/x-icon",
        "Referer=",
        "Snapshot=t13.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    lr_start_transaction("0-search");
    web_reg_save_param("namejpeg","LB=img1.jike.com:82/get?name=","RB=\"","ORD=ALL","SEARCH=BODY",LAST);
    web_submit_data("so",
        "Action=http://image.jike.com/so",
        "Method=GET",
        "EncType=",
        "RecContentType=text/html",
        "Referer=http://image.jike.com/index.php",
        "Snapshot=t14.inf",
        "Mode=HTTP",
        ITEMDATA,
        "Name=q", "Value={searchparam}", ENDITEM,
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_concurrent_start(NULL);
    web_url("ie6listPage.css",
        "URL=http://image.jike.com/style/ie6listPage.css",
        "Resource=1",
        "RecContentType=text/css",
        "Referer=http://image.jike.com/so?q={searchparam}",
        "Snapshot=t15.inf",
        LAST);
    web_url("ie6ImgBD.css",
        "URL=http://image.jike.com/style/ie6ImgBD.css",
        "Resource=1",
        "RecContentType=text/css",
        "Referer=http://image.jike.com/so?q={searchparam}",
        "Snapshot=t16.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_url("ie6baseNew.css",
        "URL=http://image.jike.com/style/ie6baseNew.css",
        "Resource=1",
        "RecContentType=text/css",
        "Referer=http://image.jike.com/so?q={searchparam}",
        "Snapshot=t17.inf",
        LAST);
    web_url("jike-autoComplete-min.js",
        "URL=http://image.jike.com/js/jike-autoComplete-min.js",
        "Resource=1",
        "RecContentType=application/x-javascript",
        "Referer=http://image.jike.com/so?q={searchparam}",
        "Snapshot=t18.inf",
        LAST);
    web_url("jike-log-min.js",
        "URL=http://image.jike.com/js/jike-log-min.js",
        "Resource=1",
        "RecContentType=application/x-javascript",
        "Referer=http://image.jike.com/so?q={searchparam}",
        "Snapshot=t19.inf",
        LAST);//广告:普遍真理实验室http://commonright.lingd.net
    web_url("ajax-min.js",
        "URL=http://image.jike.com/js/ajax-min.js",
        "Resource=1",

http://www.dtcms.com/wzjs/61373.html

相关文章:

  • 做好的网站启用新冠病毒最新消息
  • 好用的网站建设英语培训
  • 买CAD设计图做的网站产品推广软件有哪些
  • 网站建设的过程包括几个阶段seo免费教程
  • 通过邮箱查注册网站百度公司招聘官网最新招聘
  • 淘宝优惠网站如何做seo搜索引擎实战详解
  • 武汉网站建设收费做网站关键词优化的公司
  • wordpress标题添加新字广东seo推广哪里好
  • 公司网站建设制作丹东网站seo
  • 网站建设合同书 简易关键词优化怎么写
  • 枣庄公司做网站seo是什么技术
  • 太原网站建设制作企业员工培训内容及计划
  • 模板网站和定制网站后缀的区别关键词批量调词 软件
  • 做学术研究的网站厦门人才网手机版
  • 做竞价的网站需要做外部链接吗seo网站免费优化软件
  • dede5.7内核qq个性门户网站源码百度分析
  • 介绍做网站的标题营销网络图
  • 做此广告的网站谷歌浏览器下载安装(手机安卓版)
  • 网站开发从哪里学起孝感seo
  • 做网站的怎么挣钱、科学新概念外链平台
  • 客服网站备案长沙网站关键词排名公司
  • 做网站的语言叫什么保定网站推广公司
  • 网站怎么做动效百度搜索引擎平台
  • 往网站上做新东西需要什么老铁外链
  • 常德制作网站seo推广学院
  • asp网站导航怎么做seo优化sem推广
  • 用网站ip做代理网站搜索优化排名
  • 各大网站域名seo营销名词解释
  • 深圳企业网站建设服务百度打开
  • 做拼货商城网站app开发软件