PHP weirdness
Posted: 06 Oct 2010, 15:35
So I've started a revamp on our intraweb. This is the current index page...
And the output, when I open it in a browser is this:
The PHP server is running and all is fine...
Can anyone tell me why it's doing this and not echoing my actual page...
Code: Select all
<html>
<head>
<title>VCE Intraweb - Home</title>
<link rel="shortcut icon" href="favicon.ico"/>
<link type="text/css" href="style.css" rel="stylesheet"/>
</head>
<body>
<div class="header"><img src="images/header.jpg"/></div>
<?php echo "PHP ECHO TEXT";?>
</body>
</html>
Code: Select all
<html> <head> <title>VCE Intraweb - Home</title> <link rel="shortcut icon" href="favicon.ico"/> <link type="text/css" href="style.css" rel="stylesheet"/> </head> <body> <div class="header"><img src="images/header.jpg"/></div> <?php echo "PHP ECHO TEXT";?> </body> </html>
Can anyone tell me why it's doing this and not echoing my actual page...