Kod
<?
$file = 'test.txt';
$text = ("Tresc");
file_put_contents($file,$text);
echo "$text";
?>
$file = 'test.txt';
$text = ("Tresc");
file_put_contents($file,$text);
echo "$text";
?>
Jak najbardziej wszystko dzial do momenty kiedy w Tresci pojawi sie ciag znakow <? lub ?> skrypt warjuje i zwisa.
Czy jest jakis sposob obejscia tego? Aby skrypt dzialal jak nalezy wpisujac <? i ?> do pliku i wyswietlajac je prawidłowo?