This is a translated page. The original can be found here: http://iwebdevel.com/2009/08/21/phpob_start-display-page-at-once-forget-about-cookieheaders-sent-too-early-errors/
UPDATES VIA RSS | Email Aktualizacje pocztą RSS | Email Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP:ob_start() Display page … Strona główna / Coding / PHP / PHP: ob_start () strony wyświetlacza ...

PHP:ob_start() Display page at once, forget about cookie,headers sent too early errors PHP: ob_start () Wyświetl stronę od razu zapomnieć o ciasteczka, nagłówki wysyłane za wcześnie błędy

Posted on 21. Zamieszczone w dniu 21. Aug, 2009 by Dragos in Coding , PHP Sie, 2009 Dragos w Coding, PHP

If you want to display your web pages at once, not subsequently, and reduce the “headers already sent, cannot send cookie information” errors, add ob_start() at the start of your script. Jeśli chcesz wyświetlać stron na raz, nie później, i zmniejszenie "nagłówki już wysłane, nie można wysyłać informacje o plikach cookie" błędy, dodać ob_start () na początku skryptu.

This function will turn output buffering on. Funkcja ta z kolei na buforowanie wyjścia. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. Podczas buforowanie wyjścia jest aktywny nie zostanie wysłana ze skryptu (inne niż nagłówki), zamiast wyjścia są przechowywane w wewnętrznym buforze. (php.net) (php.net)

You can also manipulate the contents of the output by using the function ob_get_contents() Można także manipulować zawartość wyjścia przy użyciu ob_get_contents function ()

Translate this post Translate this post


Related posts: Podobne posty:

  1. Browsing errors: пщщпду or пщщпдуюсщь Przeglądanie błędów: пщщпду lub пщщпдуюсщь
  2. PHP: How to download a webpage (aka web scrapping) with PHP PHP: Jak pobrać stronę internetową (złomowanie internetowych aka) w PHP
  3. Coding:How to fetch user profile data with SSI.php from a SMF forum database Kodowanie: Jak pobrać dane z profilu użytkownika SSI.php z bazy danych SMF forum

    blog comments powered by Disqus blog komentarze powered by Disqus