gta1151 Posted January 20, 2011 Report Share Posted January 20, 2011 Veselu nedēļu mokos ar Headers already sent cookie lasīju to rakstu nepalīdzēju,tapēcs jums jautāju. Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted January 20, 2011 Report Share Posted January 20, 2011 Kāds tieši ir jautājums? Quote Link to comment Share on other sites More sharing options...
gta1151 Posted January 20, 2011 Author Report Share Posted January 20, 2011 (edited) Uzstaisiju login skriptu ar cookie viņs kad eju profila met Header allready send. Edited January 21, 2011 by gta1151 Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted January 20, 2011 Report Share Posted January 20, 2011 Bez koda to neviens tev neizzīlēs... Quote Link to comment Share on other sites More sharing options...
ezis Posted January 20, 2011 Report Share Posted January 20, 2011 Uzstaisiju login skriptu ar cookie viņs kad eju profila met Header allready send. Cōkies to me? :O Nav Tev tur ar sessijam šī problēma? Kūrā rindā jau aizsūtīts pirmais headeris? Kāda ir tā rinda un kas ir pēc tam.. :D Parādi skripteli? :? Quote Link to comment Share on other sites More sharing options...
rebuilder Posted January 20, 2011 Report Share Posted January 20, 2011 99% ka pirms cookie definēšanas ir html kods ;) Quote Link to comment Share on other sites More sharing options...
briedis Posted January 20, 2011 Report Share Posted January 20, 2011 Es drīzāk teiktu, ka BOM vaina... Quote Link to comment Share on other sites More sharing options...
rebuilder Posted January 21, 2011 Report Share Posted January 21, 2011 Arī ļoti iespējams. Quote Link to comment Share on other sites More sharing options...
gta1151 Posted January 21, 2011 Author Report Share Posted January 21, 2011 Error <b>Warning</b>: Cannot modify header information - headers already sent by (output started at E:\Program Files\xampp\htdocs\include\header.php:5) in <b>E:\Program Files\xampp\htdocs\include\header.php</b> on line <b>22</b><br /> 5 rinda <title><?php echo nosaukums; ?>//<?php echo $lapa; ?></title> 22 rinda setcookie("id",$id, time()+99999999); Quote Link to comment Share on other sites More sharing options...
rebuilder Posted January 21, 2011 Report Share Posted January 21, 2011 Kā jau minēju :) Quote Link to comment Share on other sites More sharing options...
mad182 Posted January 21, 2011 Report Share Posted January 21, 2011 Headeriem jānāk pirms jebkura cita koda, ko padod pārlūkam. Quote Link to comment Share on other sites More sharing options...
gta1151 Posted January 21, 2011 Author Report Share Posted January 21, 2011 var taisīt ciet vajadzēja ierakstīju session_start(); un ob_start(); konvertēju uz utf8 BOM Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 21, 2011 Report Share Posted January 21, 2011 Nē, ob_start() nevajadzēja ierakstīt. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.