|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 + 1 = ?
Subscribe to this entry?

 [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: Sat Jan 23 15:01:23 2021 UTC