Page 1 of 1

WinHttp.WinHttpRequest.5.1 Content-Length 0

Posted: Wed Jan 17, 2007 3:39 am
by pelegk1
i am calling a php page using WinHttp.WinHttpRequest.5.1
and i recive that the Content-Length of the file is 0
why is that?
thnaks in advance
peleg

Posted: Wed Jan 17, 2007 9:11 am
by Mordred
Because your php page didn't output (print/echo/HTML) anything.
Call the same script from your browser with the same parameters and see what happens.
Posting the code might also help ;)

Posted: Thu Jan 18, 2007 5:53 am
by Kieran Huggins
Also, are you using onReadyStateChange (or whatever that nonsense is)?

Using jquery's ajax library might be useful for you.