Guest CF21 Posted August 30, 2006 Share Posted August 30, 2006 Hello,How do I create a stream that's not actually tied to a file? I'm trying to use [tt]CURLOPT_PUT[/tt] to transfer a string via HTTP PUT:[url=http://us3.php.net/manual/en/function.curl-setopt.php]http://us3.php.net/manual/en/function.curl-setopt.php[/url]but unfortunately this requires that I provide a file stream, not a raw string. I don't want to create a temporary file on disk and then delete it just to do this.Anyone familiar with cURL or PHP streams, please help! :) Link to comment https://forums.phpfreaks.com/topic/19178-stream-thats-not-associated-with-a-file/ Share on other sites More sharing options...
Guest CF21 Posted August 30, 2006 Share Posted August 30, 2006 grr... Link to comment https://forums.phpfreaks.com/topic/19178-stream-thats-not-associated-with-a-file/#findComment-83073 Share on other sites More sharing options...
Barand Posted August 30, 2006 Share Posted August 30, 2006 I, and probably many others, tend to look at posts with no replies first, so bumping lessens your chances.When I see someone impatiently stamping their feet and throwing a tantrum beacause they didn't get an immediate reply I hit the back button and go to another post. Just something you might want to bear in mind, as I may not be the only one. Link to comment https://forums.phpfreaks.com/topic/19178-stream-thats-not-associated-with-a-file/#findComment-83178 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.