title: $_SERVER['PHP_SELF'] not working when connecting through Android
body: <p>I am working on my computer with localhost.My form is</p>
  
  <pre><code>&lt;form method="post" action="&lt;?php echo htmlspecialchars($_SERVER['PHP_SELF']);?&gt;" role="form"&gt;
  </code></pre>
  
  <p>Now, when I connect my android phone on the same network and punch in the ip address of my computer, on submission of form it says <code>404 not found</code>. That is because it is trying to reach the web address </p>
  
  <blockquote>
    <p><a href="http://my.ip.address/%3c?php%20echo%20htmlspecialchars" rel="nofollow">http://my.ip.address/%3c?php%20echo%20htmlspecialchars</a>($_SERVER['PHP_SELF']);?%3E</p>
  </blockquote>
  
  <p>What should I do?</p>