Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$name_file = $_FILES['file']['name'];
$explode = explode(".",$name_file);
$count = count($explode);
$a = $explode[$count-1];
Мисля че това решение е най-удачно. Благодаря.relax4o каза:PHP:$string = "asd.asd.gzx"; $split = explode(".", $string); echo end($split);
Заповядай.