Level 47
Try to check if the content-type is being posted as multipart/form-data.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, everyone.
I'm facing a strange issue with curl posting files to any severs. The send data is posted as $_POST not as $_FILES.
The code is tested on two other servers and it works, also i've tried with anlutro/php-curl but i'm facing the same problem.
Any ideas?
Please or to participate in this conversation.