I'm trying to obtain the type of archive in php with strops
and substr
.
How can I find the position of the first point from the end of the name of the file?
$archive_name=$_FILES['uploaded_file']['name'];
$type=substr($archive_name, strpos(".") ) ?