knowram Posted June 7, 2007 Share Posted June 7, 2007 I have a php/html page that is taking longer to load then i think it should is there a way to see what part of the page is hanging it up? Thanks for the help. Link to comment https://forums.phpfreaks.com/topic/54652-page-load-time/ Share on other sites More sharing options...
per1os Posted June 7, 2007 Share Posted June 7, 2007 Do debug statements. IE: Start doing this after the first line and if it works move it to the next <?php $somevar = "name"; //die("Here"); after it tests alright move it to the next portion $i=10; while($i<0) { echo 'this is infinite'; } die("here"); ?> Which ever does not display here or takes it a long time to display the lines above it are the culprits. Link to comment https://forums.phpfreaks.com/topic/54652-page-load-time/#findComment-270275 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.