Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> output_buffering
dominik1592
post 22.06.2010, 09:35:45
Post #1





Grupa: Zarejestrowani
Postów: 26
Pomógł: 1
Dołączył: 30.01.2010

Ostrzeżenie: (0%)
-----


Witam!

Mam pytanie czy da się ustawić dla wybranego katalogu output_buffering On questionmark.gif
Jak to zrobićquestionmark.gif
Go to the top of the page
+Quote Post
nospor
post 22.06.2010, 09:38:08
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




http://pl.php.net/manual/pl/ini.list.php
Cytat
output_buffering "0" PHP_INI_PERDIR

http://php.net/manual/en/configuration.changes.modes.php
Cytat
PHP_INI_PERDIR 6 Entry can be set in php.ini, .htaccess or httpd.conf

Kontynuować tok myslenia czy juz sam sobie poradzisz?



--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
dominik1592
post 22.06.2010, 10:27:26
Post #3





Grupa: Zarejestrowani
Postów: 26
Pomógł: 1
Dołączył: 30.01.2010

Ostrzeżenie: (0%)
-----


Czyli .htaccess lub ini_set() na początku skryptu powinno starczyć do ustawienia output_buffering questionmark.gif
Czy coś źle zrozumiałem questionmark.gif

Ten post edytował dominik1592 22.06.2010, 10:30:47
Go to the top of the page
+Quote Post
nospor
post 22.06.2010, 10:31:12
Post #4





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Jeszcze raz podam ci linka, bo wogole tam nie zajrzałes:
http://php.net/manual/en/configuration.changes.modes.php
Cytat
PHP_INI_USER 1 Entry can be set in user scripts (like with ini_set()) or in the Windows registry
PHP_INI_PERDIR 6 Entry can be set in php.ini, .htaccess or httpd.conf
PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf
PHP_INI_ALL 7 Entry can be set anywhere

[quote]
No i dla output_buffering masz PHP_INI_USER czy moze PHP_INI_PERDIR?

Odpowiedz na to skomplikowane masz w moim poprzednim poscie


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
dominik1592
post 22.06.2010, 10:37:25
Post #5





Grupa: Zarejestrowani
Postów: 26
Pomógł: 1
Dołączył: 30.01.2010

Ostrzeżenie: (0%)
-----


Dzięki nie zwróciłem uwagi.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 12.06.2025 - 10:37