Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18882
| From | bill <william@TechServSys.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: directing curl output to an array or string |
| Date | 2022-03-10 19:26 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <t0e508$18ib$1@gioia.aioe.org> (permalink) |
| References | <t0dmg7$1o6j$1@gioia.aioe.org> <t0dn5p$cbl$1@dont-email.me> <t0dnug$cbl$2@dont-email.me> |
On 3/10/2022 3:44 PM, Lew Pitcher wrote:
> On Thu, 10 Mar 2022 20:30:49 +0000, Lew Pitcher wrote:
>
>> 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
>
> or, did you mean something like
>
> <?php
> exec("curl http://google.com/",$OUTPUT,$RC);
> echo $OUTPUT;
> ?>
>
>
>
Thanks Lew.
-bill
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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