I was wondering if anyone could help me write a PHP script for me that renames all the files in a directory in a sequence.
So…
-
DSC_10342.JPG -> 1.JPG
-
DSC_10343.JPG -> 2.JPG
-
DSC_10344.JPG -> 3.JPG
and so on.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s my version: