hu_ha Posted October 14, 2004 Report Share Posted October 14, 2004 Parastais notaped neder? nu tak cik var teikt ?-> http://php.lv/f/index.php?showtopic=1580&v...indpost&p=10298 Link to comment Share on other sites More sharing options...
o2T Posted October 17, 2004 Report Share 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 Link to comment Share on other sites More sharing options...
Jee Posted October 17, 2004 Author Report Share Posted October 17, 2004 (edited) Tikai <html> <head> <title></title> </head> <body> Edited October 17, 2004 by Jee Link to comment Share on other sites More sharing options...
bubu Posted October 17, 2004 Report Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts