By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

PHP limit text sent back to browser?

P: 22
I have a page in my application that does the bulk of the work and it looks like what is happening is the output from my code is getting cut off. Taking the HTML source that is generated from my code it is about 150 KB in size so it is a pretty big page.

I found one post on here that related to the output_buffering setting and I tried upping the max_execution_time setting but they don't seem to make a difference.

Does anyone know if PHP limits the amount of text that is sent back to the browser? If so, is there any way to allow it to send more information back. I have tested it in several different browsers so I don't think that it is related to the browser cutting things off.

Thanks a lot,
Jeff
Feb 18 '08 #1
Share this Question
Share on Google+
3 Replies


dlite922
Expert 100+
P: 1,584
no, i don't believe there's a limit.

You may have an error in your code. Do you have error_reporting on?
Feb 18 '08 #2

ronverdonk
Expert 2.5K+
P: 4,258
I have tested it in several different browsers so I don't think that it is related to the browser cutting things off.....
You must have an error in your code. Maybe it helps to do some debugging and/or tracing, such as echoing the content of variables and points at certain points in you code.

Ronald
Feb 18 '08 #3

P: 22
Thanks for the replies.

Dlite922 - To answer your question, yes, error reporting is on and I am not getting anything. I have error reporting set to E_ALL & ~E_NOTICE

ronverdonk - As for an error the exact same code gets executed 6 times before this with similar data. I have tried echos, etc...I even added a couple echos with just comment text and in doing so it cut it off earlier so it is definitely getting cut off early, for instance where it is currently cutting off, I am building an option list and it is cutting off on non-database data, i.e. the last characters sent to the browser are
[HTML]<option value="43">with blue band</option><option val[/HTML]

for more information, it is a loop that runs for each day of the week and it is bombing on Sunday (going from Monday to Sunday) so I know the loop is working.
Feb 18 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.