
08.08.2008, 18:12
|
|
Постоянный
Регистрация: 15.04.2007
Сообщений: 645
Провел на форуме: 967842
Репутация:
251
|
|
Один человек помог
Ошибка выходит
Код:
<font style="position: absolute;overflow: hidden;height: 0;width: 0"> test1 <a href="http://xost.com/">test1</a> test1 test2<a href="http://xost.com/">test2</a> test2 test3<a href="http://xost.com/l">test3</a> </font>
а получается так
Код:
<font style=\"position: absolute;overflow: hidden;height: 0;width: 0\">test1 <a href=\"http://xost.com/\">test1</a> test1test2<a href=\"http://xost.com/\">test2</a> test2test3<a href=\"http://xost.com/\">test3</a> test3</font>
слеши почему вставляет "\"? кАК ЧТОБЫ БЕЗ НИХ?
Сам скрипт
Код:
<?
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
if (isset($_POST['a']))
die(str_replace(array("\r","\n"), "", $_POST['a']));
echo "<form method=post>\r\n";
echo "<textarea name=a rows=10 cols=40></textarea>\r\n";
echo "<input type=submit>\r\n";
echo "</form>\r\n";
?>
Последний раз редактировалось fly; 08.08.2008 в 18:23..
|
|
|