//WRONG
$header = "Host: www.hackthissite.org\r
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13\r
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r
Accept-Language: en-gb,en;q=0.5\r
Accept-Encoding: gzip,deflate\r
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r
Keep-Alive: 115\r
Connection: keep-alive\r
Referer: http://www.hackthissite.org/missions/programming/\r\n" . $cookie . "Connection: Close\r\n\r\n";
//RIGHT
$header = "Host: www.hackthissite.org\r
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13\r
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r
Accept-Language: en-gb,en;q=0.5\r
Accept-Encoding: gzip,deflate\r
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r
Keep-Alive: 115\r
Connection: keep-alive\r
Referer: http://www.hackthissite.org/missions/programming/\r\n" . $cookie . "Connection: Close\r\n\r\n";