echo / print Help
Posted: Sun Dec 04, 2005 5:33 am
Hey guys,
This seems like something that is extremely easy, but I've been playing with it for a few days, and am still at a loss. I'm working on a fairly large PHP program, and basically, it gathers info from the DB, generates a nice HTML page, and displays it to the browser. It's straight PHP code, and the HTML is all dynamically generated. Nice and simple.
There's only one function that outputs to the browser, and this ends up getting executed three times during the one process. For some unknown reason though, on some (not all) pages, it only displays maybe 90% of the HTML code, then stalls / hangs. I'm using ob_start() and ob_end_flush(), and have tried without them as well.
I've checked everything over and over, and can't see a problem anywhere. I even had the script save all HTML that gets outputed to a file, and that webpage shows up just fine in my browser with 100% of the HTML code. When it's displayed through the PHP script though, it will sometimes hang.
Anybody have any idea why something like this would be happening? Any pointers?
Thanks,
Matt
This seems like something that is extremely easy, but I've been playing with it for a few days, and am still at a loss. I'm working on a fairly large PHP program, and basically, it gathers info from the DB, generates a nice HTML page, and displays it to the browser. It's straight PHP code, and the HTML is all dynamically generated. Nice and simple.
There's only one function that outputs to the browser, and this ends up getting executed three times during the one process. For some unknown reason though, on some (not all) pages, it only displays maybe 90% of the HTML code, then stalls / hangs. I'm using ob_start() and ob_end_flush(), and have tried without them as well.
I've checked everything over and over, and can't see a problem anywhere. I even had the script save all HTML that gets outputed to a file, and that webpage shows up just fine in my browser with 100% of the HTML code. When it's displayed through the PHP script though, it will sometimes hang.
Anybody have any idea why something like this would be happening? Any pointers?
Thanks,
Matt