title: How to pass actionScript 2 value to php
body: <p>I have decompiled a flash game. There is a variable called <code>totalscore</code>. I need to send this variable to my <code>leaderboard.php</code>. How can I do this in secure.</p>
  
  <p>Currently I'm passing the value like this. </p>
  
  <pre><code>getURL("mydomain.com/leaderboard.php&amp;value="+totalscore,'_top','get');
  </code></pre>
  
  <p>I have accessed above value like this:</p>
  
  <h2>leaderboard.php</h2>
  
  <pre><code>$totalscore = $_GET['value'];
  </code></pre>
  
  <p>But this method is not secure. Because any one can change the value an press enter. then value of 'value' will store in the db. </p>
  
  <p>I tried using <code>POST METHOD</code>  on <code>actionscript</code>. But it not worked.</p>
  
  <p>Please help me to solve this problem?</p>