title: not able to execute php file in chrome extension
body: <p>Currently I'm new to chrome extension development .
  what i want to do is , I'll take url from address bar and feed to my database . so i created a simple html file "popup.html" and want to send that data to script.php file using post method ..
  but whenever i click on submit button , nothing happens..</p>
  
  <p><strong><em>popup.html</em></strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;title&gt;KnowPhish&lt;/title&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
  &lt;style&gt;
  body{
  width:300px;
  height:200px;
  }
  &lt;/style&gt;
  &lt;script src="popup.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  
    &lt;h4&gt;My First extension Page.&lt;/h4&gt;
    &lt;p&gt;This is some text.&lt;/p&gt; 
  &lt;p id="demo"&gt;&lt;/p&gt;
  
    &lt;form id="form1"  method="post" action="http://localhost/extension/script.php" autocomplete="off" novalidate="novalidate"&gt;
      &lt;input class="search-term required" id="in1" type="text" height="40px" name="url" placeholder="Type your search URL here" title="* Please enter a search URL!" autocomplete="off"&gt;
      
     &lt;/form&gt;
     
   &lt;button type="submit" form="form1" value="Submit"&gt;Submit&lt;/button&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>   chrome.tabs.query({
  active: true,
  lastFocusedWindow: true
  }, function(tabs) {
  var tab = tabs[0];
  document.getElementById("demo").innerHTML = tab.url;
  document.getElementById("in1").value = tab.url;
   });</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong><em>manifest.json</em></strong></p>
  
  <pre><code> {
  "manifest_version": 2,
  "name": "KnowPhish",
  "version": "1.0",
  "description": "Building an Extension!",
  "browser_action": {
      "default_popup": "popup.html"
  },
  "permissions": ["tabs","activeTab","http://localhost/*"]
  } 
  </code></pre>
  
  <p><strong><em>script.php</em></strong></p>
  
  <pre><code>   &lt;pre&gt;&lt;?php
  var_dump($_POST);
  ?&gt;&lt;/pre&gt;
  </code></pre>
  
  <p>even i tried with this simple code .. but this also didn't execute. Doing all this on my localhost.. 
  plzzzz anyone help .It will be great help. thankyou.. </p>