How to send multiline data to curl from a script?
Karl Auer
kauer at biplane.com.au
Sat Sep 4 17:09:46 UTC 2021
On Sat, 2021-09-04 at 11:42 +0200, Bo Berglund wrote:
> > You could build a curl command line and run it from PHP
> > [...]
>
> I am not sure the web provider (Network Solutions) will allow that
Well, maybe find out?
> obviously also have banned the mail() function in php...
I am not talking about built-in curl, but rather about running an
external curl program, the same way you might run "ls" or "netstat".
> One example from the PHP 8 manual page regarding curl-init
> https://www.php.net/manual/en/function.curl-init.php
This is PHP's built-in curl as far as I can tell (as noted, I'm not a
PHP guy).
> This means that I am probably out of luck concerning using curl in
> php on the webhotel used.
"Probably"... why not find out for sure?
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
GPG fingerprint: 61A0 99A9 8823 3A75 871E 5D90 BADB B237 260C 9C58
Old fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
More information about the ubuntu-users
mailing list