switching files and renaming
can anyone help me to create something that will switch files in my settings/conf.php?
i have several different files that i have to rename to conf.php to get it to work correctly for what im doing. can i make a dropdown box or something that will select one of my files and replace it with conf.php but also remember the original file name so when switched again it goes back to whatever it was and the next file i pick will become conf.php
basically i need to change conf2.php or conf3.php or whatever i name the file and so on to conf.php but remember the original filename when i switch to another file so that i always know which conf file it is. any help is very appreciated as this is getting tedious having to switch conf.php so many times a day. conf.php is for a crawler im running and i am trying to change conf.php to the correct file that my crawling needs are for, for that task without having to manually rename it every single time.
|