title: why does browser attempt to download php file everytime I try to run that file?
body: <p>I'm just starting out with using php and am having quite a bit of trouble. every time I attept to launch my php page my browser tries to have me download it. my php code is below.</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Untitled Document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php $uri = $_SERVER['REQUEST_URI'];?&gt;
  &lt;?php echo $uri;?&gt;
  &lt;?php $host = $_SERVER['HTTP_HOST'];?&gt;
  &lt;?php echo $host;?&gt;
  &lt;?php echo $_SERVER['REQUEST_URI'];?&gt;
  &lt;?php echo $_SERVER['HTTP_HOST'];?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>If you could help then please tell me why is this happening, how do I fix it, and is there something I can do to prevent this from happening in the future. Thanks for any help.</p>
  
  <p>info:</p>
  
  <pre><code>Server-LightTPD for windows
  Editors attempted-notepad and dreamweaver
  *most success with dreamweaver...(I think)
  </code></pre>