I need a script to copy a file to every dir and subdir inside a specific folder.
Inside a folder called ‘projects’ i have several folders with several folders inside them (and so on), i need a script that checks if there is a specific file in that folder, if exist, then do nothing, if not, copy it.
I need to do this in php…
Can you help?
i hope this code can help you for what you want