Created
November 22, 2014 18:42
-
-
Save MarioPerezEsteso/aa7ddccd6ca6dd93986b to your computer and use it in GitHub Desktop.
123456789_mini.jpg ----> 123456789.jpg
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
<?php | |
foreach(glob('./imagenes/*.jpg') as $filename){ | |
echo rename($filename, substr_replace($filename, '.jpg', -9, 9)); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please i want only 1000000000000 action point on Amour Sucré ; my email is : ma-ma@live.fr and my password is : 123456789 please :)