WEBD.pl www.hlg.zpodziemia.pl DZIAŁA
HOME.pl www.hlg.com.pl NIE DZIAŁA
Zrobiłem to tak, że po kliknięciu w kontrast. Tworzy ciastko i nazwa stylu CSS z kontrastem i dodaje je na samą gorę.
<?php $poprzednia = $_SERVER['HTTP_REFERER']; if ($kontrast=='on') { } if ($kontrast=='off') { } if ($_COOKIE['kontrast']=="kontrast.css") { ?> <a href="?kontrast=off"><div id="kontrast"> <img src="../../images/kontrast.png" width="20" height="20" border="0" title="kontrast"> </div></a> <?php } else { ?> <a href="?kontrast=on"><div id="kontrast"> <img src="../../images/kontrast.png" width="20" height="20" border="0" title="kontrast"> </div></a> <?php } if ($word=='1') { } if ($word=='2') { } if ($word=='3') { } ?>
Kontrast:
Warning: Cannot modify header information - headers already sent by (output started at /nowa_hlg/index.php:14) in /nowa_hlg/index.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /nowa_hlg/index.php:14) in /nowa_hlg/index.php on line 39
Wygląda na to, że nie pobiera zmiennej i nie przeładowuje strony. Proszę o pomoc.