Help please: CURL lib appends '0' (zero) to all output

From: Eagle (eagleflyer2_at_lycos.com)
Date: 12/23/03


Date: Tue, 23 Dec 2003 08:02:31 +0100

Hi All,

I'm using the wonderful CURL lib to handle data between php-scripts in
the background. However, I am experiencing a problem: Whenever the
processed data is returned for output I see a '0' (zero) appended to
it.
I seem to be unable to get rid of it. I don't even know where this
zero comes from and why it is there. Any help greatly appreciated.

A simple example:

1.)
Script 1 handles some data (e.g. some form input) and sends it to
script 2.

2.)
Script 2 then processes the data and generates the output.

I always see the output like this: output0

Any help greatly appreciated.

Eagle

(I very much appreciate your contributions.
Please do not reply to my email-address since it is deactivated due to tons of Spam I received.
Thanks a ton)



Relevant Pages

  • Help please: CURL lib appends 0 (zero) to all output
    ... I am experiencing a problem: ... processed data is returned for output I see a '0' appended to ... zero comes from and why it is there. ... Script 1 handles some data and sends it to ...
    (comp.lang.php)
  • Re: AIX 5.3 disaster recovery fro AIX newbie
    ... >are you in the server in maint mode? ... I know just because I cannot get in and examined the script it ran. ... one of the scripts smoked /etc/passwd file, to zero. ... If you are not the intended recipient ...
    (AIX-L)
  • Re: Why must I chomp a variable set in a script?
    ... If they are of zero size, ... it is supposed to trigger the email program to notify the users. ... have to "chomp" the variable to get this to work? ... like the value was supplied from the command line, it is set in the script. ...
    (perl.beginners)
  • Re: problem with a file processing script
    ... but I am far from a script writer, and I recently run into a little ... if the file I am looking for is zero ... the $NEWNUM it's because the extension the third party software is ... print that $EQFILE existed but was empty ...
    (comp.unix.shell)
  • Re: problem with a file processing script
    ... but I am far from a script writer, and I recently run into a little ... if the file I am looking for is zero ... the $NEWNUM it's because the extension the third party software is ... print that $EQFILE existed but was empty ...
    (comp.unix.shell)