Tag Archive for file upload

Sending multipart POST requests with PHP


A long time ago I wrote about the same thing, but with more text and a C++ example, you can find it here. This time I made the same thing but in PHP and using cURL, because it was for a project I was working on. Basically I had a very simple task that needed to be a bit automated. Whole website is also basic, just simple authentication and then a simple file upload. In this project generate a lot of data (around 5mb) and then POST all of that to the file upload script.
Read more