这要自己去试呀。要不然怎么知道p是什么,hc又是什么.

解决方案 »

  1.   

    http://google.yahoo.com/bin/query?p=TShellUIHelper&hc=1&hs=0
    p=查询的内容
      

  2.   

    给你一个简单的,先分析这个页面:
    得到其提交信息格式
    然后在程序里这样做
    比如在这里得到提交信息
                    TReplaceFlags rf;
                    rf << rfReplaceAll;
                    AnsiString tempStr = ComMemo->Text;//这里是我要发的帖子的内容                tempStr = StringReplace(tempStr,'\%',"%25",rf);
                    tempStr = StringReplace(tempStr,'\=',"%3d",rf);
                    tempStr = StringReplace(tempStr,'\&',"%26",rf);
                    tempStr = StringReplace(tempStr,'\\',"%5c",rf);
                    tempStr = StringReplace(tempStr,'\/',"%2f",rf);
                    tempStr = StringReplace(tempStr,'\?',"?",rf);
                    tempStr = StringReplace(tempStr,'\r',"%0a",rf);
                    tempStr = StringReplace(tempStr,'\n',"%0d",rf);
                    tempStr = StringReplace(tempStr,'\ ',"%20",rf);
                    tempStr = StringReplace(tempStr,'\<',"%3c",rf);
                    tempStr = StringReplace(tempStr,'\>',"%3e",rf);
                    tempStr = StringReplace(tempStr,'\#',"%23",rf);
                    tempStr = StringReplace(tempStr,'\$',"%24",rf);
    //以上是屏蔽一些特殊字符
                    AddStr = ("PUT http://202.98.201.244/cgi-bin/xybook/bbs.cgi?menu=addtitle&id=" +
                    Id + "&username=" + UserName.c_str() + "&userpsd=" + UserPsd.c_str()
                    + "&mail=" + Mail.c_str() + "&home=" + Home.c_str() + "&emote=" + Emote.c_str()
                    + "&titles=" + TitleEdit->Text.c_str() + "&comment=" + tempStr.c_str() + "\r\n");
      

  3.   

    sorry~~我分析的页面地址为:http://202.98.201.244/cgi-bin/xybook/bbs.cgi?menu=fabiao&id=xxing