![]() | |
| |||||||
| Home | Register | Blogs | FAQ | Members List | Calendar | Downloads | Arcade | Mark Forums Read |
| Web Development Java/PHP/Perl/ASP and more |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Web developer | PHP: Header and Cookies problem 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 | Warning: Cannot modify header information - headers already sent by |
| | |
| | #3 | |
| Ìàãèñòð | 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 | |
| | |
| | #4 |
| » | äî âûçîâà header-à íå äîëæíî áûòü íèêàêîãî outputa(echo è ò.ï.)
__________________ •·•· ·•·· ·· •·•· •·• |
| | |
| | #5 |
| Web developer | setcookie(chto-to) header(redirection) V Cookie nichego ne pishetsya |
| | |
| | #6 |
| » | setcookie ýòî òîæå header, âñå-òàêè ïðîâåðü åù¸ ðàç åñòü ëè äî ýòîãî êàêîé-ëèáî output
__________________ •·•· ·•·· ·· •·•· •·• |
| | |
| | #7 |
| » | êñòàòè âî âðåìÿ "Warning: Cannot modify header information - headers already sent by" äîëæíî ïîêàçûâàòü â êîòîðîé ñòðîêå output
__________________ •·•· ·•·· ·· •·•· •·• |
| | |
| | #8 |
| Web developer | Sorry et Warning@ urish documenti mej er arajacel, vor@ vor dzer asacov chisht error er talis, hima mnac en harc@ 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 |
| » | ìîæåò ýòî ? 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 | Ha et porcel em, bayc de no effect, krome togo vor phpMyAdmin-@ sxal tvec inch vor ![]() |
| | |