Page stops responding when printing content

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
SilverArrow
Forum Newbie
Posts: 1
Joined: Tue Nov 16, 2010 3:40 am

Page stops responding when printing content

Post by SilverArrow »

Hello!

I have my own framework through which all modules are loaded and content is stored in specific class. At the end
all the content is displayed on screen. I'm stucked at this last step when I want with php function (print or echo) to display
the contents of all pages on screen. Then the server obviously can't handle this, because after a few clicks
page hangs (stops responding - until I close the browser and reopen the page).
Maybe are there some restrictions on server? Page is loading on other server just fine (that other server is a little bit faster).

it' online shop with lots of html code (that's the only difference between pages that works and this one that hangs!)

Any ideas?
thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Re: Page stops responding when printing content

Post by thinsoldier »

to display
the contents of all pages on screen
How many "pages" are you talking about?

How many bytes is the html of a single page?

I ran into a page today with 3.5 megabytes of html markup.
(min/max-price on a search form ranging from $500 to $30-million in $20 increments!!!)

It killed safari, opera, and firefox when I tried to view-source. That could be your problem.
Have a url?
Warning: I have no idea what I'm talking about.
Post Reply