title: Get POST data from file_get_contents
body: <p>I followed <a href="https://stackoverflow.com/questions/2445276/how-to-post-data-in-php-using-file-get-contents">this post</a> to see how to pass data to php's <a href="http://php.net/manual/en/function.file-get-contents.php" rel="nofollow noreferrer">file_get_contents</a> function but I can't seem to get the data back using:</p>
  
  <pre><code>$data = $_POST['my_param']; // Where my_param is the name of the parameter passed
  </code></pre>
  
  <p>Does anybody know how to get back the value of the parameter sent to file_get_contents in the script that I'm calling with file_get_contents?</p>
  
  <p>Thanks in advance</p>