shell scripting the copy of same file to full tree
I am not much the scripter and I was hoping for some help by the shell geniuses out there. My web host runs PHP as a cgi through phpsuexec. They also have register_globals as on by default. The consequences of this is that the normal method to override this setting will not work. Normally a person could do this with an option in the .htaccess file in the root of the directory you wish to effect, and it effects of the option change filter down recursively to all subdirectories. Well I have a PHP script that behaves very badly if register_globals is on. The override under the phpsuexec system is a php.ini file IN EVERY DIRECTORY IT NEEDS TO EFFECT. Fortunately, my host gives me SSH shell access.
So what I am hoping for is a shell script or PHP script that will allow me to copy my php.ini file recursively to every folder from my chosen root.