![]() |
![]() | #1 |
Web developer Join Date: 09 2002 Location: Yerevan Age: 40
Posts: 896
Downloads: 1 Uploads: 0
Reputation: 9 | 0 | ![]()
I have such problem: If I use header("Location... for redirection, the system doesn't write Cookies, but if I use standart HTML redirection through META tags, all goes normal. |
![]() |
![]() | #2 |
Web developer Join Date: 09 2002 Location: Yerevan Age: 40
Posts: 896
Downloads: 1 Uploads: 0
Reputation: 9 | 0 | ![]()
Warning: Cannot modify header information - headers already sent by
|
![]() |
![]() | #3 | |
Магистр Join Date: 02 2002 Location: Am
Posts: 952
Downloads: 0 Uploads: 0
Reputation: 26 | 4 | ![]() Quote:
toest' do togo kak ti vizivaesh funkciyu header() nikakix vivodov ne dolno bit' do nego... naprimer: if(4toto){ echo( "vse ok"); header("poshel tuda to"); } else{ echo("vse error"); header("poshel tuda to"); } // Eto nepravil'nij kode..
__________________ talent agency casting.am Center of Internet Projects Support http://www.online.am Armenian newspapers digest http://www.armpress.com _ _ _ _ _ _ _ Bud'te proshe i narod k vam potyanetca | |
![]() |
![]() | #5 |
Web developer Join Date: 09 2002 Location: Yerevan Age: 40
Posts: 896
Downloads: 1 Uploads: 0
Reputation: 9 | 0 | ![]()
setcookie(chto-to) header(redirection) V Cookie nichego ne pishetsya |
![]() |
![]() | #8 |
Web developer Join Date: 09 2002 Location: Yerevan Age: 40
Posts: 896
Downloads: 1 Uploads: 0
Reputation: 9 | 0 | ![]()
Sorry et [email protected] urish documenti mej er arajacel, [email protected] vor dzer asacov chisht error er talis, hima mnac en [email protected] vor Cookie-i mej chi grum, ete heto header em dnum. Kstati, mi hat urish tegh em pordzrkel, UNIX-Apache er vren (im mot W2k/IIS-a), et tegh normal ashxatuma headernerov. Im mot voch mi error chi talis, uxaki Cookie-i mej chi grum, indz tvuma et php.ini -i nastroykeqica |
![]() |
![]() | #9 |
» Join Date: 01 2002
Posts: 777
Downloads: 1 Uploads: 0
Reputation: 0 | 0 | ![]()
может это ? Code: ; Output buffering allows you to send header lines (including cookies) even ; after you send body content, at the price of slowing PHP's output layer a ; bit. You can enable output buffering during runtime by calling the output ; buffering functions. You can also enable output buffering for all files by ; setting this directive to On. If you wish to limit the size of the buffer ; to a certain size - you can use a maximum number of bytes instead of 'On', as ; a value for this directive (e.g., output_buffering=4096). output_buffering = Off |
![]() |
![]() | #10 |
Web developer Join Date: 09 2002 Location: Yerevan Age: 40
Posts: 896
Downloads: 1 Uploads: 0
Reputation: 9 | 0 | ![]()
Ha et porcel em, bayc de no effect, krome togo vor [email protected] sxal tvec inch vor ![]() |
![]() |
Sponsored Links |