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 FRISSÍTÉSEK VIA RSS | E-mail Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP:ob_start() Display page … Home / Coding / PHP / PHP: ob_start () kijelző oldal ...

PHP:ob_start() Display page at once, forget about cookie,headers sent too early errors PHP: ob_start () Kijelző oldal egyszerre, felejtsd el a cookie-t, fejlécek elküldött túl korai hibák

Posted on 21. Posted on 21. Aug, 2009 by Dragos in Coding , PHP Augusztus, 2009 Dragos a 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. Ha szeretné megjeleníteni weboldalain egyszerre, nem később, és csökkenti a "headers already sent, nem küldhet cookie információ" hiba, add ob_start () elején a forgatókönyvet.

This function will turn output buffering on. Ez a funkció bekapcsolja a kimenet pufferelés. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. Ameddig a kimenet pufferelés be van kapcsolva a kimenet nem elküldeni a scriptet (nem headers), hanem a kimenet tárolják egy belső pufferben. (php.net) (php.net)

You can also manipulate the contents of the output by using the function ob_get_contents() Ön is manipulálni a tartalom-kimenet segítségével a funkció ob_get_contents ()

Translate this post Translate this post


Related posts: Related posts:

  1. Browsing errors: пщщпду or пщщпдуюсщь Böngészés hibák: пщщпду vagy пщщпдуюсщь
  2. PHP: How to download a webpage (aka web scrapping) with PHP PHP: Hogyan lehet letölteni egy weboldal (aka web selejtezésre) a PHP
  3. Coding:How to fetch user profile data with SSI.php from a SMF forum database Coding: Hogyan lehet letölteni a felhasználói profil adatok SSI.php egy SMF fórum adatbázis

    blog comments powered by Disqus iPhone Disqus szerint