0 works

Get the file extension in PHP


dashboard+ Project

Posted by @bassel #php

$path = $_FILES['image']['name'];
$ext = pathinfo($path, PATHINFO_EXTENSION);
content_copyCopy to Clipboard
https://stackoverflow.com/a/10368236/7286945

>> Browse more code snippets

more_vert