hi,
Complete php newbie question. I'm running Apache 1.3.33 on Mac OS x 10.3.7, running php 5.0.3.
When I add the code below and preview it the browser waits for about 60 seconds, and then displays a blank page. If I open the source there is nothing there. I copied part of the code from a sample to test some stuff. Further experimentation shows that this hanging blank screen crap happens all the time... even if I comment out all the code! is this something really obvious? The apache server error log shows no complaints so I'm stuck. I've searched around but don't see anything that might help. Thanks in advance!
Oh, If I leave only the line phpinfo() on it's own, the page displays correctly.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<?php
echo "You aren't logged in.";
include("login.php");
phpinfo();
?>
<body>
test
</body>
</html>