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 ()
Related posts: Related posts:
- Browsing errors: пщщпду or пщщпдуюсщь Böngészés hibák: пщщпду vagy пщщпдуюсщь
- PHP: How to download a webpage (aka web scrapping) with PHP PHP: Hogyan lehet letölteni egy weboldal (aka web selejtezésre) a PHP
- 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












































