|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8305 RETURNTRANSFER output not properly send back to variable
Submitted: 2000-12-17 20:16 UTC Modified: 2001-01-03 11:08 UTC
From: emilebosch at hotmail dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 4.0.3pl1 OS: Win95
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: emilebosch at hotmail dot com
New email:
PHP Version: OS:


 [2000-12-17 20:16 UTC] emilebosch at hotmail dot com
In this code the output has to be send back to $result, it works correctly except for the last character of the "localhost/curl/curl_feed.php" document, its not being outputted whils when using not the RETURNTRANSFER option the output is being output correctly: IE:

localhost/curl/curl_feed.php outputs:
this is a test

WITH  : curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
this is a tes

*NoTice* The last character is missing. this can't be good :(( 

I would aprreciate it highly if someone could take a look at this :-)
Kind regards,

Emile Bosch
$ch = curl_init ("localhost/curl/curl_feed.php");
echo  $result = curl_exec ($ch);
curl_close ($ch);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-01 15:50 UTC]
Fixed in CVS (Once CVS comes back up that is ;-).
 [2001-01-03 11:08 UTC]
Now it's really fixed.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 02:01:24 2021 UTC