Can someone please explain how to get the file extension of the form uploaded file in PHP?
$filepath = $_FILES['image']['name']; $fileextension = pathinfo($filepath, PATHINFO_EXTENSION);
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments