Quantcast
Channel: Сообщество PHP DevelStudio - среда разработки программ
Viewing all articles
Browse latest Browse all 6336

RTF

$
0
0
На хостинге:
PHP код:

<?
$Nick 
= ( $_GET['Nick'] );
$Text = ( $_GET['Text'] );

$Put "
{\rtf1
 
$Nick {\b $Text}.\par
}
"
file_put_contents('chat22.rtf'$PutFILE_APPEND  );

На кнопке
PHP код:

$nk c("edit1")->text;
$tx c("edit2")->text;
file_get_contents("http://site.ru/chat.php?Nick=$nk&Text=$tx");
$get file_get_contents('http://site.ru/chat.rtf');
c("richEdit1")->RTFText $get

Получаю


Вопрос: Зачем?

Viewing all articles
Browse latest Browse all 6336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>