Posts Tagged ‘Curl Fuctions’
Check Site Loading Speed using CURL curl_getinfo() in PHP.
Monday, June 22, 2009 10:06 2 CommentsWe use curl_getinfo() in to get the information of last transfer that made use of curl functions in PHP. Using the following code we can get the time taken to load a webpage. $ch = curl_init(‘http://www.inetminds.com/parsing-xml-feeds-in-php-with-simplexml-111/’); // set cURL to return the contents in a variable instead of giving it to the browser. curl_setopt($ch, CURLOPT_RETURNTRANSFER, [...]

