Fill a form with Ethernet Shield

I’ve a problem.
I want to fill automatically a form for keeping alive my internet connection (i live in a student room)

You can find the auth page attached

I try to send the “auth_user” and “auth_pass” with a post, but it doesn’t work

Any ideas ?

Code :

    // Make a HTTP request:
    client.println("POST / HTTP/1.1");
    client.println("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp;q=0.8");
    client.println("Accept-Encoding: gzip,deflate,sdch");
    client.println("Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4");
    client.println("Content-Type: application/x-www-form-urlencoded");   
    client.println("Cookie: __utma=199844970.1638979587.1380054394.1381091623.1381426669.4; __utmz=199844970.1381426669.4.4.utmcsr=bing|utmccn=(organic)|utmcmd=organic|utmctr=suaps%20unbiversit%C3%A9%20angers");   
    client.println("Connection: close");  

form.rar (11.1 KB)

With a POST request, you must send a "Content-Length:" parameter in the header. I usually send it just before "Connection: close". That is the length of this string:

If you send double quotes, they should be url encoded. That is %22

I tried with Content-Lengh and also with %22 and nothing work :~

String PostData="";

  if (client.connect(server, 80)) {
    Serial.println("connected test");
    // Make a HTTP request:
    client.println("POST / HTTP/1.1");
    client.println("Connection: close");
    client.println("Content-Type: application/x-www-form-urlencoded;");
    client.print("Content-Length: ");

What do you mean "doesn't work"? Doesn't connect? Doesn't get the page? Doesn't save the data?