PHP код:
$server = "Сервер";
$domain = "Домен";
$catalog = "Каталог";
$files = "Файл";
$log = "Лог";
$format = ".Формат;
$teg = c("user_teg")->text;
$login = c("Form1->auth_login")->text;
iconv("UTF-8", "cp1251", $text = c('edit1')->text);
$text = str_replace(' ', '+', $text);
iconv("UTF-8", "cp1251", $text = c('edit1')->text);
$data_server = "http://$server$domain/$catalog/$files$format";
file_get_contents("$data_server?Message="."$login:$text");
c("chromium1")->url = ("http://$server$domain/$catalog/$log$format");
$text = str_replace('+', ' ', $text);
iconv("UTF-8", "cp1251", $text = c('edit1')->text);
c("edit1")->text = "";
PHP код:
<?php
$fp = fopen('Файл.формат', 'a');
fwrite($fp, $_GET['Message']." <br>");
fclose($fp);
?>
А должно быть вот так:
PHP код:
admin: бла бла бла.
admin: бла бла бла.
PHP код:
admin:бла
admin:бла
admin:всем
admin:как