nemec Posted October 1, 2005 Report Share Posted October 1, 2005 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\arregistr\funkcijas\funkcijas.php:1) in c:\program files\easyphp1-8\www\arregistr\funkcijas\logini.php on line 6 Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\arregistr\funkcijas\funkcijas.php:1) in c:\program files\easyphp1-8\www\arregistr\funkcijas\logini.php on line 9 ko vinjsh te manj vicinaas, nesaprotu. Link to comment Share on other sites More sharing options...
bubu Posted October 1, 2005 Report Share Posted October 1, 2005 Atver http://lv.php.net/manual/en/function.header.php un lasi: Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with include(), or require(), functions, or another file access function, and have spaces or empty lines that are output before header() is called. Link to comment Share on other sites More sharing options...
nemec Posted October 1, 2005 Author Report Share Posted October 1, 2005 jā paldies, es jau sapratu Link to comment Share on other sites More sharing options...
bubu Posted October 1, 2005 Report Share Posted October 1, 2005 Nākamreiz, kad uzrodas vissīkākā kļūda nebrēc un nemeties uz forumu, bet pasēdi 10 min, padomā un paeksperimentē ar nelielām izmaiņām savā kodā. Link to comment Share on other sites More sharing options...
nemec Posted October 1, 2005 Author Report Share Posted October 1, 2005 a kāpēc tu domā, ka es tā nedarīju??? es ilgi meklēju kur kļūda. un to ka nedrīkstēja sūtīt tekstu lietotājam pirms http headerus, es ar zināju. bet es sāku domāt, ka problēma citur... man liela lapa, un vienā include failā, jau otro reizi parādās mistiskie simboli, laikam tāpēc, ka tas saglabāts utf-8... Link to comment Share on other sites More sharing options...
bubu Posted October 1, 2005 Report Share Posted October 1, 2005 a kāpēc tu domā, ka es tā nedarīju??? Tāpēc, ka starp šo http://php.lv/f/index.php?showtopic=3101&v...indpost&p=23631 un šo http://php.lv/f/index.php?showtopic=3101&v...indpost&p=23639 postu ir tikai 23 minūšu starpība. Link to comment Share on other sites More sharing options...
nemec Posted October 2, 2005 Author Report Share Posted October 2, 2005 a ko dariit, ja COOKIES ir izsleegti, tad ar sessijaam nekas nedarbojas. kur tur jaamaina uzstaadiijumos, lai padotu caur adresi. un kaa paarbauda vai COOKIES straaadaaa???/ Link to comment Share on other sites More sharing options...
Analgiins Posted October 2, 2005 Report Share Posted October 2, 2005 1) uzliec session.use_trans_sid = 1 2) output-add-rewrite-var 3) liec sesijas id katraa linkaa atsevishkji, nezinu, uztaisi kaut kaadu funkciju HREF(), kur parametraa nodot tikai lapu/templeitu; protokolu, hostu (maybe arii portu?), sesijas id un paareejos parametrus funkcija pati pieliek. Link to comment Share on other sites More sharing options...
Recommended Posts