Step 1: install php-gmp Now you can see file gmp.so and 20-gmp.ini Step 2 (optinal if not exists file /etc/php.d/20-gmp.ini): restart PHP-FPM now you can…
CURLOPT_WRITEFUNCTION: A callback accepting two parameters. The first is the cURL resource, and the second is a string with the data to be written. The…
If you set option CURLINFO_HEADER_OUT to true, you can get request header with function curl_getinfo (see example 2) CURLOPT_HEADERFUNCTION: A callback accepting two parameters. The…
We do some example with this image : http://static.asiawebdirect.com/m/bangkok/portals/vietnam/homepage/hanoi/pagePropertiesImage/hanoi-guide.jpg Method 1: Online demo: Method 2: Use imagefilter: Online demo: Method 3: Online demo: Method 4:…