
For that I have written a small program, Its take a folder name and take all the files's name of the folder in the array, and we replace the specific keyword with the word, we want there.
Follow the program for the code, you just need to change the first three variable of the code.
Follow the program for the code, you just need to change the first three variable of the code.
<?php
$dir = 'rename4folder';
// folder path within this file, If are nor sure about the location, just use the full Physical URL of the folder
$replacekeyword = 'replace'; // name to be replaced
$replacewith = 'with'; // name with this the name replacerd
$files = scandir($dir);
if(is_array($files))
{
foreach($files as $single)
{
$newsingle = str_replace($replacekeyword,$replacewith,$single);
if(($single!=".")&&($single!=".."))
{
$dothis = 1;
}
if($dothis)
{
if(rename($dir.'/'.$single, $dir.'/'.$newsingle))
{
echo "<br/>".$single." renamed to ".$newsingle;
} else {
echo "<span style='color:#cc0000'><br/>".$single." not renamed to ".$newsingle."</span>";
}
}
}
}
?>
I see your site needs some fresh & unique content.
ReplyDeleteObat Herbal Kanker Darah
Obat Tradisional Kanker Otak
Obat Tradisional Kanker Payudara
Obat Tradisional Kanker Paru Paru
Obat Tradisional Kanker Hati
Obat Tradisional Kanker Usus
Obat Tradisional Kanker Kelenjar Getah Bening
Obat Tradisional Kanker Prostat