Is there a max HTML page length?

General discussions related to php

Moderators: macek, egami, gesf

sametch
New php-forum User
New php-forum User
Posts: 17
Joined: Wed Jul 03, 2002 3:10 am

Is there a max HTML page length?

Postby sametch » Wed Jul 03, 2002 3:25 am

I have created a PHP/MySQL database driven glossary of IT terms. The database contains 323 entries from a-z. On the website only entries a-f are displayed in the browser (both IE5 and Mozilla). When I view the source code (which is a massive file) all 323 entries are present so many are being cut off.

It looks as if there is a maximum page length that a browser can cope with. Can anyone confirm this is the case?

to see what I mean http://www.birminghamebusinessclub.co.uk/i6.php

Any help appreciated

Sametch[/url]

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Is there a max HTML page length?

Postby WiZARD » Wed Jul 03, 2002 4:13 am

sametch wrote:I have created a PHP/MySQL database driven glossary of IT terms. The database contains 323 entries from a-z. On the website only entries a-f are displayed in the browser (both IE5 and Mozilla). When I view the source code (which is a massive file) all 323 entries are present so many are being cut off.

It looks as if there is a maximum page length that a browser can cope with. Can anyone confirm this is the case?

to see what I mean http://www.birminghamebusinessclub.co.uk/i6.php

Any help appreciated

Sametch[/url]


I think what you exceeded string length (256 chars :!:) cause if you open in any browser http://www.birminghamebusinessclub.co.uk/i6.php and see the code you see all code of your generated page....
I think so....

If you using a some like <BR> mayby you can fix problem

Try delete yors selection "Frames" and check again :D

Jay

Postby Jay » Thu Aug 01, 2002 4:18 pm

I've just had a look at your page, and it looks fine to me. But then I'm on a cable modem which may provide the answer.

Your page is VERY big (but don't worry, there isn't a limit for how big your html page can be). The problem I think is due to you have all the items in ONE table. Normally, a browser will only render the table once it's finished loading (which would normally mean that a user visiting your page would have to wait until the WHOLE page was downloaded before they'd see anything). However, the browser seems to be rendering a little due to the sheer size of the page. Even though the rest of the code is there, the table is not complete which is why the browser isn't rendering it.

Mind you, I'm just guessing at that being the problem. Like I said before, I'm on a cable modem and your page loaded very quickly for me with no problems. What I would recommend you do though is split it up, and not have everything on the same page. It saves bandwidth for your visitors and your server. And no doubt it saves server strain too. :D


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 2 guests

cron