hu_ha Posted October 14, 2004 Report Posted October 14, 2004 Parastais notaped neder? nu tak cik var teikt ?-> http://php.lv/f/index.php?showtopic=1580&v...indpost&p=10298
o2T Posted October 17, 2004 Report Posted October 17, 2004 tev pirms shitaa <?php $value = 'man vajag, lai rukaa cookies'; setcookie("Vaards", $value, time()+3600); echo $_COOKIE["Vaards"]; ?> nekaa nav? Warning: Cannot modify header information - headers already sent by (output started at C:\Jee\cepumi.php:9) in C:\Jee\cepumi.php on line 13
Jee Posted October 17, 2004 Author Report Posted October 17, 2004 (edited) Tikai <html> <head> <title></title> </head> <body> Edited October 17, 2004 by Jee
bubu Posted October 17, 2004 Report Posted October 17, 2004 Nu bāc! Tev prasa iedot, kodu kas neiet, a tu tikai fragmentu iedod!!! Nu protams, ka šādi nestrādās. Pirms header() funkcijas izsaukšanas nekas ar print/echo un html kodu (tas kas ne <?php ... ?> tagos) nedrīkst būt izvadīts tak!
Recommended Posts