Page 1 of 1

Viewing large php files

Posted: Sat Jun 18, 2005 1:41 pm
by alwaysak
Hi

I am problem opening large php documents in web browser.

Sometimes the webpage reloads over and over and The page cannot be displayed error message comes up.

If i put a die in the middle of the script I can see random noise in the html source.

A simple line such as this

Code: Select all

echo '<td bgcolor=&quote;#EFEFFF&quote;><img src=&quote;../../images/dotBig.GIF&quote; width=&quote;100%&quote; height=&quote;3&quote; border=&quote;0&quote;></td>';
comes out like

Code: Select all

<td bgcolor=&quote;#EFEFF  ɂimg src=&quote;../../images/dotBig.GIF&quote; width=&quote;100%&quote; height=&quote;3&quote; border=&quote;0&quote;>
This only happens if the data being displayed is large and it works fine for small data set.

Can anyone help.

This happened to me before as well and to fix it I broke the page in to smaller pages but this time this is not an option.

Please Help


AK

Posted: Sat Jun 18, 2005 3:05 pm
by senthilnayagam
sounds strange,

can you paste more code, or rename your code as phps and host it somewhere or a sample URL where i can see the output

will surely debug / fix it for you


regards
senthil