I am trying to find out file size of an url:
$url1 = \'www.google.com\'; $curl1 = curl_init(); curl_setopt($curl1, CURLOPT_URL, $url1); curl_setopt($curl1, CURL
You can tell CURL to use fresh data by setting CURLOPT_FRESH_CONNECT to TRUE
CURL
CURLOPT_FRESH_CONNECT
TRUE
You can read more about CURL function here :
http://php.net/manual/en/function.curl-setopt.php