Help for this page
<to_user_info> <photo>https://webdomainasdad/getstapic.ashx?id=10010008460</photo +> ... <userStatus> res</userStatus> <usertype>1</usertype> </to_user_info>
$photo = "https://webdomainasdad/getstapic.ashx?id=1001000846 +0"; #$photo is parsed from XML my $res = $ua->get("$photo"); my $imgfile = $res->content;