title: form trying to open php file
body: <p>I'm new to php and I have the following form in my html file:</p>
  
  <pre><code>&lt;form id="loginForm" action="login.php" method="post"&gt;
      &lt;label for="username"&gt;Username:&lt;/label&gt;
      &lt;div&gt;
          &lt;input type="text" name="username" maxlength="255"/&gt;
      &lt;/div&gt;
      &lt;label for="password"&gt;Password:&lt;/label&gt;
      &lt;div&gt;
          &lt;input type="password" name="password" maxlength="255"/&gt;
      &lt;/div&gt;
      &lt;div class="buttonDiv"&gt;
          &lt;input type="submit" name="loginButt" value="Login"/&gt;
      &lt;/div&gt;          
  &lt;/form&gt;
  </code></pre>
  
  <p>Why does it try to open my php file when I try to run it?
  Open as in firefox opens a window asking me if I want to save or open the file.</p>
  
  <p>Thanks</p>