Convert gbk encoding to utf-8 after php curl

IssueI use curl to get the website content, but the encoding of this page is gbk. Some characters ar...
Jun 03, 2020 PHP cURL Comments 0

application-x-www-form-urlencoded post in php cURL

With application-x-www-form-urlencoded post in cURL, we should use http_build_query to generate URL-...
Jun 01, 2020 PHP cURL Comments 0

multipart/form-data post using cURL php

With multipart/form-data post in cURL, we can submit not only json and arrays, but also files. When ...
May 16, 2020 PHP cURL Comments 0

Raw POST using cURL in PHP

We can do a raw POST with cURL library, which can send text data to server, such as json, xml, html ...
May 14, 2020 PHP cURL Comments 0

Retrieve response headers from PHP cURL

There are two ways to get response headres from PHP cURL.1. Using CURLOPT_HEADER optionWith the curl...
Apr 28, 2020 PHP cURL Comments 0