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 함수를 사용하여 출력의 내용을 조작할 수있습니다 ()
Related posts: 관련 게시물 :












































