cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: getting extra output after post

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Aug 2001 01:11:14 +0200 (MET DST)

On Wed, 15 Aug 2001 Nigel_Soon_at_advanis.ca wrote:

> I'm using curl to do a post and when I run the curl_exec($ch) it does the
> post and the return results are displayed, however after the </HTML> it
> is printing a 0. It seems to be in the return of the post because if I
> echo something after the curl_exec statement it come after the 0.
>
> Has anybody had any experience with this?

Can you show us an example? Preferably also the headers you got.

I assume you're using curl 7.8?

(My gut reaction is that it sounds as if the chunked-encoding is either wrong
from the server or read badly by libcurl, but I can't say that for sure yet)

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
Received on 2001-08-16