Last active
December 30, 2015 07:39
-
-
Save ivanrosolen/7797439 to your computer and use it in GitHub Desktop.
Criar um jeito em php para retornar apenas o nome do arquivo (sem extensão nem diretórios)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/www/public/upload/image.jpeg | |
imagem.01.png | |
/ivan.pdf | |
/var/www/public/upload/imaginação.JPG | |
/var/www/nome bem legal.png | |
ilári iê.gif | |
/opa_ivan.01_03.jpeg | |
swp.ivan.01.12.2013.php | |
/var/www/_windows Like.gif | |
yudi.jPeG | |
Não vale usar o pathinfo($filename, PATHINFO_FILENAME ); porque, teoricamente, é o jeito correto. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pensa fora da caixa povo