get_url_size
get_url_size($url); - get the size of the content at the specified url)
the input Function accepts parameters:
$url – url to get the size of
After testing, the function returns the result of its work to the script :
URL content size – the size of the content at the specified address