Posted on March 8, 2015 by Hans
IP address is an important part of the Internet Protocol. In the course of cURL execution, cURL will fetch a number of IP addresses, which can be retrieved in the array of curl_getinfo or curl verbose information. It’s interesting to note that these ips are different from the result retrieved by similar PHP function gethostbyname. […]
Posted on March 7, 2015 by Hans
In the last post How to find dead links in website, I used cURL technique to determine if a link is broken or not. In this post, I am going to write a series of articles to have a summary on the examples how to use cURL in PHP, in order to have deep understanding […]
Posted on February 17, 2015 by Hans
call_user_func_array is a useful function to call a callback with an array of parameters. The callback could be user-defined function or a method in a class. Here is the summary of its application.