Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18880

Re: directing curl output to an array or string

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.lang.php
Subject Re: directing curl output to an array or string
Date 2022-03-10 20:30 +0000
Organization A noiseless patient Spider
Message-ID <t0dn5p$cbl$1@dont-email.me> (permalink)
References <t0dmg7$1o6j$1@gioia.aioe.org>

Show all headers | View raw


On Thu, 10 Mar 2022 15:19:19 -0500, bill wrote:

> I would like to direct curl output to a string or an array.

See the first example on
  https://www.php.net/manual/en/curl.examples.php

> I see how I can direct it to a file and then I could read it back 
> in to a variable, but it seems there should be a way to just read 
> the output to a string or array.

HTH
-- 
Lew Pitcher
"In Skills, We Trust"

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

directing curl output to an array or string bill <william@TechServSys.com> - 2022-03-10 15:19 -0500
  Re: directing curl output to an array or string Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-03-10 20:30 +0000
    Re: directing curl output to an array or string Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-03-10 20:44 +0000
      Re: directing curl output to an array or string bill <william@TechServSys.com> - 2022-03-10 19:26 -0500
        Re: directing curl output to an array or string Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-03-11 01:24 +0000
          Re: directing curl output to an array or string bill <william@TechServSys.com> - 2022-03-12 07:33 -0500

csiph-web