Re: ob_start() -- ob_end_flush() problem

From: Date: Sat, 29 Apr 2017 20:15:55 +0000
Subject: Re: ob_start() -- ob_end_flush() problem
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-326079@lists.php.net to get a copy of this message
> On Apr 29, 2017, at 10:20 AM, Aziz Saleh <azizsaleh@gmail.com> wrote: > >> > Are you using the same includes/open|close-db.php in both instances? If the > answer is not, can your student try using your db files and see if it works > or vise-versa (you use theirs). The code looks fine and the issue could lie > with the included files/settings. Yes, the code in all instances (including the includes) is exactly the same. I added the -- $page = ob_get_contents(); /* end buffered output */ echo($page); — in both cases and theirs failed and mine did not. My original code just used ob_start() and ob_end_flush() and worked just fine. Again, theirs did not. I’ll try Arno’s suggestion an echo something simple and see if that works. Thanks, tedd _______________ tedd sperling tedd@sperling.com

« previous php.general (#326079) next »