PHP limit text sent back to browser?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • milestogofromhere
    New Member
    • May 2007
    • 22

    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_bufferin g setting and I tried upping the max_execution_t ime 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
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    no, i don't believe there's a limit.

    You may have an error in your code. Do you have error_reporting on?

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      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

      Comment

      • milestogofromhere
        New Member
        • May 2007
        • 22

        #4
        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.

        Comment

        Working...