Form data is omitted by web server when submitting it
together with cookies.
When cookies were added to Http headers, the code
added an extra empty line to the header. Web server
sees this empty line as the beginning of the content,
thus skipping the rest of the header.
Remove "\r\n" from this line(somewhere near line 773)
$headers .= substr($cookie_headers,0,-2)."\r\n";
$headers .= substr($cookie_headers,0,-2);
Log in to post a comment.