PHP

ob_get_contents - 출력 버퍼의 내용을 반환

출력 버퍼를 지우지 않으면서 내용을 얻습니다.

출력 버퍼의 내용이나, 출력 버퍼링이 없을 경우 FALSE를 반환합니다.


  • Comment 2008-12-22 10:28
ob_start();
include_once ("./write_update_mail.php");
$content = ob_get_contents();
ob_end_clean();