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
Use CURLOPT_FRESH_CONNECT - TRUE to force the use of a new connection instead of a cached one.
Example:
for more details about curl check out http://php.net/manual/en/function.curl-setopt.php
may this help you.