Jump to content
php.lv forumi

sessijas


nemec

Recommended Posts

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

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

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

×
×
  • Create New...