Thx...

Now I have next problem

piece of code:
Qt Code:
  1. ...
  2. QString header = "";
  3. QString line = clientConnection->readLine();
  4. while(line.length() > 0){
  5. obsah = "";
  6. header += line;
  7. line = clientConnection->readLine();
  8. }
  9. ...
To copy to clipboard, switch view to plain text mode 

In header is now:

POST / HTTP/1.1
Host: localhost:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1250,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: localhost/qt/
Content-Type: application/x-www-form-urlencoded
Content-Length: 26

xa=jalsu&odeslat=Z


In variable odeslat should be Zaindexuj. Line with variables is maximal 18 chars long. Can anyone help pls?