Jee Posted October 12, 2004 Report Posted October 12, 2004 Kad rakstu kautko ar setcokie, piem: setcookie("Vaards", $value, time()+3600); Tad man paraadas shaads uzraksts: 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 Man kautkas nav ritiigi ar cookijiem?
PheliX Posted October 13, 2004 Report Posted October 13, 2004 kuukijus jaasuuta pirms saak kautko izvadiit, vai arii jaalieto bufferingu.
Jee Posted October 13, 2004 Author Report Posted October 13, 2004 Bet njemot piemeerus no manuaalja man taapat raada!
PheliX Posted October 13, 2004 Report Posted October 13, 2004 mosh pirms <? esi atstaajis kaadu tukshumu vai enteru - tas arii tiek izvadiits
bubu Posted October 13, 2004 Report Posted October 13, 2004 mosh pirms <? esi atstaajis kaadu tukshumu vai enteru - tas arii tiek izvadiits Tieši tā!
Jee Posted October 13, 2004 Author Report Posted October 13, 2004 Nu neiet man, varbuut iedodiet kaadu mazu piemeeru!
Jee Posted October 13, 2004 Author Report Posted October 13, 2004 <?php $value = 'man vajag, lai rukaa cookies'; setcookie("Vaards", $value, time()+3600); echo $_COOKIE["Vaards"]; ?>
hu_ha Posted October 13, 2004 Report Posted October 13, 2004 kas par editoru? ja notepad, tad tur pēc default ir sūds priekšā - paņem notepad2 un apskaties, vai nekas pirms tam nav - pat tukšums...
bubu Posted October 13, 2004 Report Posted October 13, 2004 kas par editoru?ja notepad, tad tur pēc default ir sūds priekšā - paņem notepad2 un apskaties, vai nekas pirms tam nav - pat tukšums... Defaultajā nav gan. Defaultajā ir ASCII kodējums, ja uzliek Unicode, tad gan ir.
bubu Posted October 13, 2004 Report Posted October 13, 2004 Atrodi notepad2 redaktoru un tur pamēģini.
Recommended Posts