How to get the version name/code on server side using PHP
<p>One of my previous versions is now not supported by the back-end. So, I want to get the version code/name of the application that calls the server, so that the server can respond accordingly.</p>

<p>In later version I will use a header to achieve this. Like this:</p>

<pre><code>httppost = new HttpPost(url);
httppost.setHeader("version", "10");
</code></pre>

<p>But any way to get the version on server side without setting a header, just from the apk's manifest.</p>

<p>I am using <code>PHP</code> at back-end.</p>

<p>Thank You </p>
