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 업데이 트를 통해 RSS | 이메일 Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP:ob_start() Display page … / 코딩 / PHP는 / PHP는 : () 표시 페이지에서 ob_start ...

PHP:ob_start() Display page at once, forget about cookie,headers sent too early errors PHP는 : ()를 한 번에, 쿠키 잊어 디스플레이 페이지에서 ob_start, 헤더를 너무 일찍 전송 오류

Posted on 21. 21 게시됨. Aug, 2009 by Dragos in Coding , PHP 8월, 2009 코딩, 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. 만약 당신이 한 번에 안 이후에 귀하의 웹 페이지를 표시하려면 원하는 "헤더를 이미 보낸 줄이고, 여러분의 스크립트가 시작 ob_start ()에서"오류를 추가, 쿠키 정보를 보낼 수없습니다.

This function will turn output buffering on. 이 기능은 출력 버퍼링이 켜집니다. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. 동안 출력 버퍼링없고 출력 스크립트에서 전송됩니다 (헤더 이상) 기타, 대신 출력을 내부 버퍼에 저장되어있는 경우에만 활성화. (php.net) (php.net)

You can also manipulate the contents of the output by using the function ob_get_contents() 또한 ob_get_contents 함수를 사용하여 출력의 내용을 조작할 수있습니다 ()

Translate this post 번역이 게시물에


Related posts: 관련 게시물 :

  1. Browsing errors: пщщпду or пщщпдуюсщь 탐색 오류 : пщщпду 또는 пщщпдуюсщь
  2. PHP: How to download a webpage (aka web scrapping) with PHP PHP는 : 방법 웹페이지 PHP와 (일명 웹 폐기) 다운로드
  3. Coding:How to fetch user profile data with SSI.php from a SMF forum database 코딩 : 어떻게 SMF 포럼 SSI.php와 데이터베이스에서 사용자 프로필 데이터를 가져올 수

    blog comments powered by Disqus 블로그 덧글 Disqus에 의해 제공