I have certainly made a mistake somewhere ... :
Depends to the server I can't get the BODY (method getresponsebody)
But in all of these cases I can have the HEADER (method getresponseheader).It's really strange for me. Is it a PORT problem and in this case how can I resolve it ?
Can someone help me ?
Full name - 2005-12-18 00:40:24 - In reply to message 1 from fred
open class.HTTPPost.inc, search for 'fsockopen'; replace '80' with '$this-port'; now go at the top and find 'var $url;' there add 'var $port;' now search ', $authInfo = false' after that add ', $port'
now just add the $port param;
btw, this code is kind bogus, it gives me "Call-time pass-by-reference has been deprecated", and "fread(): Length parameter must be greater than 0. in" the first error I already fixed it for myself, just find 'fsockopen' then in that line remove all the '&' that you find. The second error it is caused because a "don't know why" usage of hexdec(); now... it doesn't parse the URL, so if the url contains a port it is going to fail, what means that it doesn't parses the user and password if it is set in the URL
it doesn't lend you to add more headers, not even change the user-agent used .