473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

PHP limit text sent back to browser?

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
3 1433
dlite922
1,584 Expert 1GB
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
4,258 Expert 4TB
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
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

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

Similar topics

16
by: lawrence | last post by:
I was told in another newsgroup (about XML, I was wondering how to control user input) that most modern browsers empower the designer to cast the user created input to a particular character...
5
by: Jesper Rønn-Jensen | last post by:
I have a textarea that must be limited to 70 characters. No big deal -- at least so I thought. * Textarea must not exceed 70 characters * Exceeding content must be cut off * Must work on input by...
1
by: Trevor Best | last post by:
When did this change? I thought is was 64K but I managed to dump 18MB in one, Access crashed when I scrolled to the bottom (out of memory error then sent report to MS). Out of interest, does anyone...
9
by: James Macbell | last post by:
I think I have pushed ASP.NET to the limit, I am not sure if I have done anything wrong in the code because I am trying to make 2 pieces of code (C# vs PHP) using the same algorithm. Anyways, here...
27
by: ted benedict | last post by:
hi everybody, i hope this is the right place to discuss this weird behaviour. i am getting dynamically generated text or xml from the server side using xmlhttprequest. if the server side data is...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not...
9
by: John C. Frickson | last post by:
My company produces reports for our customers in PDF format. I have a php script that verifies login status and access rights, and sends the pdf to the client using readfile(). This has worked...
6
by: K Viltersten | last post by:
I have the following button: <asp:LinkButton id="Btn" runat="server" text="Click"> </asp:LinkButton> I have added an action listener in the javascript where I change the text on it:...
2
by: =?Utf-8?B?Q2hyaXMgRGF2b2xp?= | last post by:
I thought there was a limit of characters passed on the URL in asp.net of 1100 characters. I sent 1426 characters and it worked. Is there a limit of number of characters on the URL that you can...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.