$out="POST /ARU/portals/std/login/exec-login.jsp HTTP/1.1 \r\n";
$out.="Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*\r\n";
$out.="Referer: http://aru:9090/ARU/index.jsp?application=ARU\r\n";
$out.="Accept-Language: fr\r\n";
$out.="Content-Type: application/x-www-form-urlencoded\r\n";
$out.="Accept-Encoding: gzip, deflate\r\n";
$out.="User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Maxthon)\r\n";
$out.="Host: aru:9090\r\n";
$out.="Content-Length: 44\r\n";
$out.="Connection: Keep-Alive\r\n";
$out.="Cache-Control: no-cache\r\n";
$out.="Cookie: language=fr; navigation=rubrics; application=ARU;\r\n"; $out.="JSESSIONID=9270FB3C6B26316E5F963625D2F3D091\r\n";
$out.="\r\n";
$out.="login=monlogin&password=monpassword&application=ARU";
$out .= "Connection: Close\r\n\r\n";
|