Header ("charset:gb2312");
$cookie _file_code= Tempnam ('. /temp ', ' 1 ');
$cookie _file= Tempnam ('. /temp ', ' cookies ');
$verify _code= "http://jwgl.nchu.edu.cn/%28A% 28tp6uevnz0aekaaaamduxnzi3mzytmzllni00nzyylwe1yzqtn2fmmtiwmwqzztbkrrvmp29y-ybw_vp8xblbajrbldc1%29%29/ Verifycode.aspx ";
$login _url= "http://jwgl.nchu.edu.cn/%28A% 28jxk8-lvz0aekaaaamzfkzdqzotgtogjjmy00zjk2lwfhowutzmu1njfkmzi5zdvhncztd14t-kwniet5jeo2btqwuce1%29%29/ Login.aspx ";
$login _url= "http://jwgl.nchu.edu.cn/(A ( EWYSEVNZ0AEKAAAAZMFHM2ZHMZATZME0ZI00ZTFHLWI4NDCTM2Y2YMZIOWU3YTBJ7KL0PO135GEWCK6G-W4BAXWOZRG1))/WebResource.axd ? d=783puls-qghg_iavarguub4wwcxpd5ewvl1lfsb-h5ucful0j2sauxzr4r4yvo2hdwjbcm_eqvjksqb0j_ T3lyqyuxapdxhrbbbq7gc1qwtnh1-n6ghxcbwr5ung7yktuvde7wwctq-8i92vjrij39e-m1ucdod8kcvnbatnpvzvxpy-zlsk1dh9kn43z086yt6gyq2 &t=633918190284687500 ";
$char =curl_init ($verify _code);
curl_setopt ($char, Curlopt_header, 0);
curl_setopt ($char, Curlopt_returntransfer, 1);
curl_setopt ($char, curlopt_followlocation, 1);
curl_setopt ($char, Curlopt_cookiejar, $cookie _file_code);
curl_setopt ($char, curlopt_cookiesession, 1);
$verify =curl_exec ($char);
Curl_close ($char);
$login = "__lastfocus=&__eventtarget=&__eventargument=&__viewstate=/ Wepdwukmtaxodaxotqxoq9kfgicaw9kfhicaw8pfgiebfrlehqfftiwmtuunc4xmcbgcmlkyxkgmtc6m2rkagcpfgifaaue5y2x5pim6iiq56m65asn5a2m56 Er5oqa5a2m6zmizaijdxqraaupfgyebvzhbhvlbsq3mdfmnzniyi01nmm1ltrkmjitythjmc0znty4oty0zdy0mwmed0rhdgftb3vyy2vcb3vuzgcedl8hvxn Lvmlld1n0yxrlz2rkzdwraagbbxqraamwbh4kvmfsdwvgawvszauiufdsb2xlsuqecvrlehrgawvszauium9szu5hbwueekvuywjszunhbgxiywnrtw9kzwhk Dxychgpjc1nhdmvkqwxszw8ukwaffcsaaryihwafceeuoeeqhuiahr8bbsq3mdfmnzniyi01nmm1ltrkmjitythjmc0znty4oty0zdy0mwmeceltywdlvxjsz R4ounvudgltzunyzwf0zwrnfcsaaryihwafceavmewkoewrmb8bbsrlnmm5ymqxms0woduzltq4ywityjc0oc1jode0mda0yju5mmefcgufcwcukwabfggfaa Ug5pwz5biihwefjdc2mzu5mmu2ltblnmmtngvlmc05mje5ltvkmgjhn2i5yzzimh8izr8jzxqraaewcb8abqblrabnlj8faqukymrmzwi4nmutm2myos00njk 2lwexowqtnmm0mjg4ntbjzwezhwhlhwlnfcsaaryihwafceepres4u+ S7ux8bbsq0nwrkzgzjnc00ywy0ltrhzgetyty2my1hntc4mtmwmtywyzifcgufcwdkzbyczg9kfgicaq88kwaiaqapfgqfamcfa2dkzaivdxqraaqpfgqfaqu Cahr0cdovl3d3dy5saw5nemhhbnnvznquy29tlx8dz2rkzdwraaqbabychwafjomvv+aypewhjowxlei9r+s7tuaciemzkoi0o+s7u+ wfrowpugqcfw8wah8absllkinmnpfnnihplb/mmkxluilljavmmj/ot683mdg55y+ 3zaizdxychwafbjezmdaymmqcgw8wah8abrbnllxor53vvjowndmxltg1mzyxodg2zaiddxychwafgemcrueuse+ 8mmpiaw4xotg3qde2my5jb21kah8pd2qwah4fc3r5bgufdmrpc3bsyxk6ymxvy2s7fgicaq88kwawawapfggfamceeunsawvudfn0yxrltg9hzgvkzx8dzx4n Q2fsbgjhy2ttdgf0zwrkbg9kebybzhybpcsacweafgied0nvbfzpc2libgvjbmrlegypfgecarybbzcbrgv2rxhwcmvzcy5xzwiuqvnqeedyawrwawv3lkdya Wrwawv3rgf0yvrlehrdb2x1bw4sierldkv4chjlc3muv2vilkftuhhhcmlkvmlldy52oc4zlcbwzxjzaw9uptgumy40ljasien1bhr1cmu9bmv1dhjhbcwguh Vibgljs2v5vg9rzw49ntm3n2m4ztninzjinda3mwkukwabfgieevnob3ddb2x1bw5izwfkzxjzabycagepzbyczg9kfgjmd2qwamypzbyczg9kfgyfckryrgf 0yvjvdzapzbycbql0y2nlbgwwxzapzbycbqdjzwxsmf8wd2qwagibdw8wbb8abu7ljzfmmizoikrnqbrlpkflrabnp5hmiodlrabpmaiymde0ltiwmtxlrabl ubtnrkzkuozlrabmnj/ ov5vnqivooagomdigidygmjaxnskec05hdmlnyxrlvxjsbultexn0zw1ub29sl1nutmv3c0rldgfpbhntag93lmfzchg/ Swq9mzezndu4yjctywi3zc00y2u5ltgwotitowu1mdhinme0yti2zgqfckryrgf0yvjvdzepzbycbql0y2nlbgwxxzapzbycbqdjzwxsmv8wd2qwagibdw8wbb8abseymde0fjiwmtxlubtluqbpmalljoyomdggmtigmjax Nckfdwvju3lzdgvtvg9vbc9tve5ld3nezxrhawxzu2hvdy5hc3b4p0lkpwnkyjfiowrmltaynzctngq1ys04mmq0lwiynzzizgrjnmmyn2rkbqpewerhdgfsb 3cyd2qwagujdgnjzwxsml8wd2qwaguhy2vsbdjfma9kfgqcaq8pfgqfaau25a2m55sf5yem5bgv5pwz5yqh57o757uf5a+g56cb5om+ 5zue5pa55rovkdexidewidiwmtqphw8fsvn5c3rlbvrvb2wvu1rozxdzrgv0ywlsc1nob3cuyxnwed9jzd03ztkxymm0ys0xngjmltrhngmtodiwoc0xzgfkn Je1y2njotlkzaiddw8wah4hvmlzawjszwhkzbgbbr5fx0nvbnryb2xzumvxdwlyzvbvc3rcywnrs2v5x18waguly29ium9szsrereqfb2dyawrozxfejrsrtz reppk1ld63ai4mb6srxa==&__viewstategenerator=c2ee9abb&__eventvalidation=/ Wewcal7u6fsdgllrzqpcakqydosdakjp/vdaqlzpqn0dwls9tttbqkm54rgbglxk6labmtsi0tjk61t0xi02z9k6rbtclef&cobrole_ ddd_linserteditems=&cobrole_ddd_lcustomcallback=&cobrole_ddd_l_vi&user_id=138206116&user_pass= shwan1995 ";
$ch =curl_init ($login _url);
curl_setopt ($ch, Curlopt_header, 0);
curl_setopt ($ch, Curlopt_httpheader, 0);
curl_setopt ($ch, Curlopt_ssl_verifyhost, 1);
curl_setopt ($ch, Curlopt_ssl_verifypeer, 0);
curl_setopt ($ch, Curlopt_useragent, "mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) ");
curl_setopt ($ch, Curlopt_referer, "http://jwgl.nchu.edu.cn/( EWYSEVNZ0AEKAAAAZMFHM2ZHMZATZME0ZI00ZTFHLWI4NDCTM2Y2YMZIOWU3YTBJ7KL0PO135GEWCK6G-W4BAXWOZRG1))/WebResource.axd ? d=shwan1995&t=138206116 ");
curl_setopt ($ch, Curlopt_returntransfer, 0);
curl_setopt ($ch, curlopt_encoding, ' gzip ');
curl_setopt ($ch, curlopt_followlocation, 1);
curl_setopt ($ch, Curlopt_post, 1);
curl_setopt ($ch, Curlopt_postfields, $login);
curl_setopt ($ch, Curlopt_cookiefile, $cookie _file_code);
curl_setopt ($ch, Curlopt_cookiejar, $cookie _file);
curl_setopt ($ch, curlopt_cookiesession, 1);
$contents =curl_exec ($ch);
Curl_close ($ch);
?>