| 
	
 | 
 Posted by Lennart Bjφrk on 01/25/06 12:23 
Hi All, 
 
I have a tiny program: 
 
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  
"http://www.w3.org/TR/html4/strict.dtd"> 
<html> 
<head> 
    <title>MyTitle</title> 
    <meta http-equiv="Content-Type" content="text/html;  
charset=iso-8859-1"/> 
</head> 
<body> 
 
<?php 
$host = $_SERVER['HTTP_HOST']; 
$server = strtolower($host); 
 
echo 'My variables<bg>'; 
 
echo("<br>Host: $host"); 
echo("<br>Server: $server"); 
 
?> 
</body> 
</html> 
 
I upload it to my webserver as test.html and as test.php. Then I test  
them in my webbrowser. The test.html does not work, but the test.php  
does. Can someone tell me why? 
 
Very confused 
Lennart BjΓΆrk
 
  
Navigation:
[Reply to this message] 
 |