Mime type detection in PHP via file extension by GET method and showed in XML for external usage.