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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.