Forum Moderators: coopster

Message Too Old, No Replies

header.php opens and then i have to wait couple seconds for body

its taking too long to load?

         

StuntasticAudi

8:33 pm on Dec 28, 2006 (gmt 0)

10+ Year Member



I have a website in php. It has a header.php, footer.php and then the content pages.

When the each page loads the header shows up quickly but then it takes couple seconds (sometimes even 10 sec) until the page loads.

What can be causing this problem? bad coding?

jatar_k

9:57 pm on Dec 28, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



what is it trying to do?

could be a slow server/connection

could be million things.

Uf you could isolate it to a spot in the html then you can maybe look at a db call that is taking to long or a specifically slow function or something else

cmarshall

10:19 pm on Dec 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll lay odds it's XHTML/CSS rendering that's the problem; not PHP.