Нужна программа

12
I
На сайте с 14.10.2008
Offline
199
#11

Slovogryz скачай и поюзай, шустрый и удобный софт, как раз для замен самое то.

20💲 Бесплатно на баланс API DeepSeek 👉 https://vk.cc/cK73ur | 💲💲💲 Моментальный выпуск виртуальных карт для оплаты за рубежом 👉 https://bit.ly/online-cards | 📝 Нейро Тексты для сайтов, быстро, дешево и качественно 👉 https://bit.ly/xgptwriter 👈
AloneSlamer
На сайте с 28.09.2011
Offline
133
#12

Вот простой скрипт для замены ссылок на доре

<?php
header('Content-Type: text/html; charset=utf-8');
?><html><head><title>Billar: Заменитель текста</title><style>body { background-color: black; color: lightgrey;}</style></head><body>

<center><form method="post">
<b>Что заменяем?</b><br/>
<input type="text" name="search" value="<?php echo $_POST["search"]; ?>"/><br><br>

<b>Что заменяем?</b><br/>
<input type="text" name="replace" value="<?php echo $_POST["replace"]; ?>"/><br><br>

<input type="submit" value="Заменяем!">
</form></center>
<table width='100%' cellpadding='5' align='center'><center><font size='5'><b>Заменитель текста by Billar</b></font></center>
<tbody>
<?php
foreach($_REQUEST as $key => $val) {
if(isset($$key)) unset($$key);
};
if (get_magic_quotes_gpc()) {
$_GET = array_map('stripslashes', $_GET);
$_POST = array_map('stripslashes', $_POST);
$_COOKIE = array_map('stripslashes', $_COOKIE);
};
ini_set("magic_quotes_gpc","0");
ini_set("magic_quotes_runtime","0");
ini_set("display_errors","1");
if (version_compare(phpversion(), "5.0.0", ">")==1) {
ini_set("error_reporting", E_ALL | E_STRICT);
} else {
ini_set("error_reporting", E_ALL);
};


set_time_limit(0);
error_reporting(0);

$file_mask_1 = ".txt";
$file_mask_2 = ".php";
$file_mask_3 = ".html";
$search_str = $_POST["search"];
$replace_str = $_POST["replace"];

$level=0;
function find_replace($dir)
{
global $level,$file_mask_1,$file_mask_2,$file_mask_3,$search_str,$replace_str;
$p = dir($dir);
while($ent=$p->read()) {
if ($ent!="." && $ent!=".." && !is_dir($dir . $ent) && (eregi(sql_regcase($file_mask_1),$ent) || eregi(sql_regcase($file_mask_2),$ent) || eregi(sql_regcase($file_mask_3),$ent))) {
$tmp=@file($dir.$ent);
$str=@implode("",$tmp);

if (strpos("@!#%xrenoder^&*()".$str,$search_str)) {
echo "<tr style='background-color: grey;'><td>".$dir.$ent."</td><td> найдено...";
$str=str_replace($search_str,$replace_str,$str);

if ($fp=@fopen($dir.$ent, "w")){
flock($fp,LOCK_EX);
fwrite($fp,$str);
fclose($fp);
echo " и заменено<br>";
} else echo " и <b>нет прав на замену</b><br>";
echo "</td></tr>";
}
} elseif($ent!="." and $ent!=".." and is_dir($dir . $ent)) {
$level++;
find_replace($dir.$ent."/");
$level--;
}
}
$p->close();
return;
}

if (isset($_POST["search"]) && isset($_POST["replace"])) { find_replace(dirname(__FILE__)."/"); echo "<center><font size=4><b>Поиск и замена завершены</b></font></center>"; }
?>
</tbody></table>
</body>
</html>
D
На сайте с 29.10.2009
Offline
128
#13

text pipe pro

Шаблоны Pandorabox, Шаблоны Zennoposter (http://zennolab.com/discussion/threads/shablony-daymos-70096689.15233/) скайп daymos1
[Удален]
#14

словогрыз в руки

О
На сайте с 25.04.2010
Offline
67
#15
daymos:
text pipe pro

^^^^^^^^^^^ this

12

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий