Hmm, so the problem is sending "content-length: 0" with "transfer-encoding" set to chunked? I just find it odd that sending it through telnet works fine, this should be the exact same as the code the ZyXEL is sending. -----Original Message----- From: Jens-U. Mozdzen [mailto:jmozdzen@xxxxxx] Sent: 04 March 2013 12:27 To: users@xxxxxxxxxxxxxxxx Subject: Re: PHP script not executing with empty POST when using chunked encoding Hi Ashley, Zitat von Ashly Pridmore <Ashly.Pridmore@xxxxxxxxxxxxxxxxx>: > [...] > The NBG on the other hand, sends the following: > > POST /{URL} HTTP/1.1 > HOST: {Host} > User-Agent: workssys.com > Transfer-Encoding: chunked > Content-Length: 0 > Cookie2: $Version="1" > Cookie: PHPSESSID=l47r1bf2erk870i8n3m9sm4v65\r\n > \r\n > 0\r\n > \r\n What might be confusing the server is that the content actually isn't empty, although Content-Length is set to 0. Regards, Jens --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx