![]() |
PHP help needed.
I need to delete a bunch of files from subdirectories that have "pix" string in its name.
Is there way to do it with php script that I can run thru browser? sort of like doing comand but with a siple script. del /S *pix* |
youre going to have to write a script that looks through the directories recursively and checks the file names for the string. Its def doable.
|
This will do the trick.
PHP Code:
|
Quote:
|
Quote:
I wish I would have thought of that. :1orglaugh |
Quote:
thanks man. |
why the fuck did you ask if there was a way to do it if you already knew there was then?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
worked well. thanks again |
All times are GMT -7. The time now is 09:42 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc