i'm using ob_start to buffer output into the browser. in each php file i added ob_start() and close it with ob_end_flush();
now i have problem with some pages that making Internal Server Error. This pages is running some database query, and then produce a html page.
it is always stoped and shown Internal Server Error when produce a html page.
so i remove ob_start function from the page, and it is works correctly.
so i guess this function is not really good for doing buffering, is there any solution for solving this problem?
i want to restrict of removing all ob_start function in all pages, and find other solution that can handle this problem.
because this application has many pages, and editing this all pages is time consume.
why ob_start making out of memory?
Moderator: General Moderators
-
mario99ukdw
- Forum Newbie
- Posts: 2
- Joined: Mon Feb 12, 2007 3:08 am