Hi i have problem with POST request.

I make this:
Qt Code:
  1. #include "mainwindow.h"
  2. #include "ui_mainwindow.h"
  3.  
  4. MainWindow::MainWindow(QWidget *parent) :
  5. QMainWindow(parent),
  6. ui(new Ui::MainWindow)
  7. {
  8. ui->setupUi(this);
  9.  
  10. http = new QHttp(this);
  11.  
  12. connect(http, SIGNAL(stateChanged(int)), this, SLOT(stateChanged(int)));
  13. connect(http, SIGNAL(requestFinished(int,bool)), this, SLOT(requestFinished(int,bool)));
  14. connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(sendGet()));
  15.  
  16. }
  17.  
  18. MainWindow::~MainWindow()
  19. {
  20. delete ui;
  21. }
  22.  
  23. void MainWindow::sendGet()
  24. {
  25. http->setHost("ts9.travian.pl");
  26. http->post("/dorf1.php", "name=Gaths&password=qwerasdf&lowRes=1&login=1359299878&w=");
  27. //http->get("/dorf1.php");
  28.  
  29. }
  30.  
  31. void MainWindow::stateChanged(int state)
  32. {
  33. switch(state)
  34. {
  35. case 0 :
  36. ui->labelState->setText("Unconnected");
  37. break;
  38. case 1 :
  39. ui->labelState->setText("Host LookUP");
  40. break;
  41. case 2 :
  42. ui->labelState->setText("Connectig");
  43. break;
  44. case 3 :
  45. ui->labelState->setText("Sending");
  46. break;
  47. case 4 :
  48. ui->labelState->setText("Reding");
  49. break;
  50. case 5 :
  51. ui->labelState->setText("Connect");
  52. break;
  53. case 6 :
  54. ui->labelState->setText("Closing");
  55. break;
  56. }
  57. }
  58.  
  59. void MainWindow::requestFinished(int id, bool error)
  60. {
  61. ui->plainTextEdit->appendPlainText(http->readAll());
  62. }
To copy to clipboard, switch view to plain text mode 

Result:
http://pastebin.com/A5ehkvRu

In curl work correctyl
Qt Code:
  1. curl -d "name=Gaths&password=qwerasdf&lowRes=1&login=1359299878&w=" ts9.travian.pl/dorf1.php
To copy to clipboard, switch view to plain text mode 
Result:
http://pastebin.com/zB0UY0T4



Can someone tell what i do wrong in qt ??