open_in_new
content_copy
$path = $_FILES['image']['name']; $ext = pathinfo($path, PATHINFO_EXTENSION);