gamester88
gamester88_cu
全部博文(159)
2010年(39)
2009年(106)
2008年(14)
zhaiqi16
cynthia
52246852
ghsyeu
dj15621
lmt81858
笑倚春风
JenGuo
求上进
分类:
2010-06-22 10:26:11
#!/usr/bin/perl use strict; use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->cookie_jar( {} ); my $res= $ua->post('', [ TPL_username => '13579', TPL_password => '13579', actionForStable => 'enable_post_user_action', action => 'Authenticator', event_submit_do_login => 'anything', ], ); $res = $ua->get(''); open(FILE, '>a.html'); print FILE $res->content; close FILE;
上一篇:cpan Crypt::SSLeay出错
下一篇:perl模块安装
登录 注册