title: $_POST variable is empty when code is executed using Telegram webhook
body: <p>I am creating a Telegram Bot using PHP. I have set the webhook to &quot;https://example.com/bot.php&quot;. As you can see below, I used <em>echo</em> to run a script that creates HTML form. After being created, the form then is submitted automatically and I get variables using POST method.</p>
  <pre><code>echo &quot;&lt;script&gt;
          document.write('&lt;form method=\&quot;post\&quot; action=\&quot;\&quot; id=\&quot;myForm\&quot;&gt;');
          document.write('&lt;textarea name=\&quot;price\&quot;&gt;' + 12345 + '&lt;/textarea&gt;&lt;br&gt;');
          document.write('&lt;input type=\&quot;submit\&quot; value=\&quot;submit\&quot;&gt;&lt;/form&gt;');
        &lt;/script&gt;&quot;;
  
  if (!isset($_POST['price']) ) {
    echo &quot;&lt;script&gt;document.getElementById(\&quot;myForm\&quot;).submit();&lt;/script&gt;&quot;;
  }
  
  $price = $_POST['price'];
  </code></pre>
  <p>If I run <code>&quot;bot.php</code>&quot; manually (using the URL), the code works just fine. However, when I send the commands in a Telegram bot, <em><code>$_POST['price']</code></em> returns <code>empty</code>.
  To check that I sent <em><code>isset($_POST['price'])</code></em> as a message to the bot, and I received <code>0</code>.</p>