PHP Get Upload File Extension

$ext = pathinfo($_FILES["file"]["name"], PATHINFO_EXTENSION);
Grepper