备份数据
程序员文章站
2022-04-05 11:12:00
...
procedure TForm1.Button2Click(Sender: TObject);
var
m:tmemorystream;
s:string;
begin
m:=tmemorystream.Create;
idhttp2.Get('http://ptlogin2.paipai.com/getimage?aid=17000101&CacheTime=0.15549751529197742',m);
m.Seek(0,0);
ImageEnDBView1.IO.LoadFromStream(m);
m.Free;
edit1.text:= IdCookieManager1.CookieCollection.Cookie['verifysession','paipai.com'].Value;
s:=inputbox('','','');
if s<>'' then
begin
edit2.Text:=s;
memo2.Lines.Add(s+'.txt');
button3.Click;
//ma( s+'.txt');
end;
end;
上一篇: 浏览器内核概述
下一篇: JavaScript调用函数的3种方式