I took a long time to get around to this, but I finally applied the
fix. Just setting the flag didn't work, but it was really easy to fix
the problem: I just changed the line
'file' => '@' . $filetosend,
to read
'file' => new CurlFile($filetosend, 'image/svg'),
and that seems to work fine.
Thank you!!! I'll fix that this week and compete my migration.
Travis Briggs schrieb am So., 10. März 2019, 23:43:
> Okay I figured it out.
>
> The problem line is this:
> https://github.com/slashme/parliamentdiagram/blob/master/parlitest.php#L517
>
> It sets a filename with the "@" prefix,
Okay I figured it out.
The problem line is this:
https://github.com/slashme/parliamentdiagram/blob/master/parlitest.php#L517
It sets a filename with the "@" prefix, which in Perl 5.5 generates a
warning but still allows you to "slurp" the file that way. So when the CURL
parts of your script
OK, that is quite a jump.
The source file is here:
https://github.com/slashme/parliamentdiagram/blob/master/parlitest.php
Thanks for your help!!
Travis Briggs schrieb am So., 10. März 2019, 22:55:
> As you can see here:
>